parseInt(String str)

A function to parse the given string to an integer.

Parameters

  • String str - the string value to parse into an integer.

Return type

Integer