StringToInt

The   NWScript command converts a string to an integer. If the provided string does not represent an integer, this returns 0.