STOI

Performs an explicit conversion from string to integer. You usually don't need to use STOI because Adams automatically coerces strings into integers, when the context demands it.

Format

STOI (String)

Arguments

 
String
A character string representation of a number.

Examples

The following example illustrates the use of the STOI function:
 
Function
STOI("1")
Result
1