NWN2Wiki
Advertisement

StringCompare is a new script function announced by Obsidian that makes sorting much easier. [1]

//RWT-OEI 01/06/06
//A simple C-Style string compare
//Returns 0 if the strings are the same
//Returns a negative value if string 1 is less than string 2
//Returns a positive value if string 1 is greater than string 2
int StringCompare( string sString1, string sString2, int nCaseSensitive=FALSE );
Advertisement