ParseInt

int, int ParseInt(str s, int base)

This function returns multiple values

Description

Parses s as an integer in the specified base. If base is 0, base 10 is used by default and prefixes like 0x are allowed.

Returns status and result.

See Number parsing for features and examples.