07.06.2009, 05:39
Here is the documentation if you would like to adapt it. Remember, the parameters with equal signs are OPTIONAL.
strcmp(const string1[], const string2[], bool: ignorecase=false, length=cellmax)
string1 - The first string in the comparison.
string2 - The first string in the comparison.
ignorecase - If logically “true”, case is ignored during the comparison.
length - The maximum number of characters to consider for comparison.
The return value is:
−1 if string1 comes before string2,
1 if string1 comes after string2, or
0 if the strings are equal (for the matched length).

strcmp(const string1[], const string2[], bool: ignorecase=false, length=cellmax)
string1 - The first string in the comparison.
string2 - The first string in the comparison.
ignorecase - If logically “true”, case is ignored during the comparison.
length - The maximum number of characters to consider for comparison.
The return value is:
−1 if string1 comes before string2,
1 if string1 comes after string2, or
0 if the strings are equal (for the matched length).

