StringToIntEx
Converts a string to an integer with some more options.
native int StringToIntEx(const char[] str, int& result, int nBase = 10)
Parameters
const char[] str
String to convert.
int& result
Variable to store the result in.
int nBase
Numerical base to use. 10 is default.
Return Value
int Number of characters consumed.