StringToInt
Converts a string to an integer.
native int StringToInt(const char[] str, int nBase = 10)
Parameters
const char[] str
String to convert.
int nBase
Numerical base to use. 10 is default.
Return Value
int Integer conversion of string, or 0 on failure.