$str.cmp

Compare two strings alphabetically
Syntax

$str.cmp(string1,string2)

Description
This function compares two strings alphabetically. If the first string is 'greater' than the second, it will return a positive number, a negative number is the second is greater and 0 if the two strings are equal.

Main index, Function index
KVirc 3.0.0 documentation
Generated by nanardon at Sat Mar 15 01:12:47 2003