GetStringLength

The   NWScript command counts the number of characters in a string. This is a positive number for most strings, but will be zero when the string in question is the empty string, "". If an error is encountered, -1 is returned. (However, getting an error is a challenge; this command never returns -1 in practice.)