Documentation

Text::ParseInt

Function

int Text::ParseInt(const string&in str, int base = 10)

Parses the given string as an integer.

string str

int base

The base to use when parsing. To parse hexadecimal numbers, use base 16. Pass 0 to automatically determine the base.

Returns int