string.integer
This function converts the string to an integer.
Syntax
string.integer(str1)
Arguments
Argument |
Type |
Description |
---|---|---|
Str1 |
string |
Source string |
Returns
Type |
Description |
---|---|
int |
The integer value of the source string, str1 |
Examples
The function string.integer("1001")
returns 1001
.