StrCmp(
string:string1,
string:string2,
[int:length],
[string:flags]
)
→ int
c | Consider case when performing the comparison (case-sensitive) |
Compares two strings. While you can compare strings using the ==, < and > operators, using the StrCmp function lets you make the comparison case sensitive if desired. You can also choose the number of characters of each string to compare.
Example:
if (StrCmp(name, "backup-", 7) == 0) { ... } // name begins with "backup-"