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

Next revision
Previous revision
new:string [2018/02/15 17:00] – created korshunnew:string [2018/02/20 19:58] (current) korshun
Line 1: Line 1:
 ====== String functions ====== ====== String functions ======
  
-  * ''bool StrIsEmpty(str s)'' -- returns true if S is an empty string (''""''). **Does not check for invalid string numbers.** +Most case-insensitive string functions use [[ctype|toupper and tolower]]which don't support non-ASCII characters.
-  * ''bool StrEquals(str astr 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. Wrapper for [[zdoom>StrCmp]].
 +  * ''bool StrIEquals(str a, str b)'' returns true if  strings are equal (case-insensitive). Wrapper for [[zdoom>StrICmp]].
new/string.1518706836.txt.gz · Last modified: 2018/02/15 17:00 by korshun