System.SysUtils.TCardinalHelper.Parse
Delphi
class function Parse(const S: string): Cardinal; static;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TCardinalHelper |
Description
Converts a string to a Cardinal value.
Parse converts the string specified by S
to a Cardinal.
The Parse method of TCardinalHelper raises the EConvertError, if the string S
is not a valid number, or out of range of the Cardinal type.
Note: For details on how the conversion is done, see the description of StrToInt.