Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object String Methods > Clib.stricmp() Method and Clib.strcmpi() MethodThese methods make a case-insensitive comparison of two strings. SyntaxClib.stricmp(string1, string2)
ReturnsThe result of the comparison, which is 0 if the strings are identical, a negative number if the ASCII code of the first unmatched character in string1 is less than that of the first unmatched character in string2, or a positive number if the ASCII code of the first unmatched character in string1 is greater than that of the first unmatched character in string2. UsageThese methods continue to make a case-insensitive comparison, one byte at a time, of string1 and string2 until there is a mismatch or the terminating null byte is reached. See AlsoClib.strncmp() Method |
Siebel eScript Language Reference |