This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
string [2019/04/19 02:46] korshun |
string [2019/04/19 02:48] (current) korshun [Checking string equality] |
||
---|---|---|---|
Line 21: | Line 21: | ||
''bool StrEquals(str a, str b)'' | ''bool StrEquals(str a, str b)'' | ||
- | Internally, this function calls harder to use [[zdoom>StrCmp]], but they could just as well be implemented using a combination of [[zdoom>StrLen]] and [[zdoom>GetChar]]. | + | Internally, this function calls harder to use [[zdoom>StrCmp]], but it could just as well be implemented using a combination of [[zdoom>StrLen]] and [[zdoom>GetChar]]. |
There is also a case-insensitive version: | There is also a case-insensitive version: |