ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:string

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
new:string [2018/02/20 19:56] korshunnew:string [2018/02/20 19:57] korshun
Line 1: Line 1:
 ====== String functions ====== ====== String functions ======
  
-Case-insensitive string functions use [[ctype:toupper and tolower]], which don't support non-ASCII characters.+Case-insensitive string functions use [[ctype|toupper and tolower]], which don't support non-ASCII characters.
  
   * ''bool StrIsEmpty(str s)'' -- returns true if S is an empty string (''""''). **Do not use with [[empty_string|invalid string ids.]]**   * ''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 StrEquals(str a, str b)'' -- returns true if strings are equal.
-  * ''bool StrIEquals(str a +  * ''bool StrIEquals(str a, str b)'' returns true if  strings are equal (case-insensitive).
-''+
new/string.txt · Last modified: 2018/02/20 19:58 by korshun