StrToInt

Description

Returns the integer value of the specified string.

Note:

A space or empty string is treated as a 0 (zero).

If the specified string does not represent an integer number, an error is returned.

Syntax

StrToInt(AString: String): Integer 

Example

StrToInt(101)

The return value is 101.