Gambas Documentation - /lang/compmethod

# Comparison methods

These constants are used by the Comp function and each time a sort method is needed. For example, in the Array sort methods, when creating a Collection, in the String class methods, and so on.

gb.Binary | Binary comparison (This is the default).
gb.IgnoreCase | Case insensitive comparison.
gb.Language | Comparison according to the current language.
gb.Language + gb.IgnoreCase | Case insensitive comparison according to the current language.
gb.Natural | Natural comparison according to the current language.
gb.Natural + gb.IgnoreCase | Case insensitive Natural comparison according to the current language.
gb.Like | The second string is assumed to be a LIKE pattern. If the first string matches it, then equality is returned. Otherwise a case insensitive comparison is done.