Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision |
new:string [2018/02/15 17:00] – created korshun | new:string [2018/02/20 19:57] – korshun |
---|
====== String functions ====== | ====== String functions ====== |
| |
* ''bool StrIsEmpty(str s)'' -- returns true if S is an empty string (''""''). **Does not check for invalid string numbers.** | Case-insensitive string functions use [[ctype|toupper and tolower]], which don't support non-ASCII characters. |
* ''bool StrEquals(str a, str b)'' -- returns true if strings are bytewise equal. | |
| |
| * ''bool StrIsEmpty(str s)'' -- returns true if S is an empty string (''""''). **Do not use with [[empty_string|invalid string ids.]]** |
| * ''bool StrEquals(str a, str b)'' -- returns true if strings are equal. |
| * ''bool StrIEquals(str a, str b)'' returns true if strings are equal (case-insensitive). |