parseInt
Parses a char array into an int.
Return
the int
Parameters
chars
the character array
offset
The offset into the array
len
The length
Throws
if it can't parse
Parses the string argument as if it was an int value and returns the result. Throws NumberFormatException if the string does not represent an int quantity. The second argument specifies the radix to use when parsing the value.
Return
int the value represented by the argument
Parameters
chars
a string representation of an int quantity.
radix
the base to use for conversion.
Throws
if the argument could not be parsed as an int quantity.