Converts an AnsiString that represents an integer (decimal or hex notation) to a number.
Unit
SysUtils
Category
type conversion routines
extern PACKAGE int __fastcall StrToInt(const AnsiString S);
Description
StrToInt converts the string S, which represents an integer-type number in either decimal or hexadecimal notation, into a number. If S does not represent a valid number, StrToInt throws an EConvertError exception.