This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| string [2019/04/18 23:40] – korshun | string [2019/04/18 23:48] (current) – [Checking string equality] korshun | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| '' | '' | ||
| - | ===== Comparing strings for equality ===== | + | ===== Checking string |
| <note warning> | <note warning> | ||
| Line 17: | Line 17: | ||
| Operator '' | Operator '' | ||
| - | To check if strings are equal, you need to compare their contents. ACSUtils provides an easy to use function | + | To check if strings are equal, you need to compare their contents. ACSUtils provides an easy to use function |
| '' | '' | ||
| - | And also a case-insensitive version: | + | Internally, this function calls harder to use [[zdoom> |
| + | |||
| + | There is also a case-insensitive version: | ||
| '' | '' | ||
| + | It's implemented using [[zdoom> | ||
| + | |||
| + | ===== String functions ===== | ||
| + | |||
| + | ==== StrIsEmpty ==== | ||
| + | '' | ||
| + | Returns true if the string is an empty string ('' | ||