[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

TIntegerHelper.Parse

Convert from a string

Declaration

Source position: syshelph.inc line 471

public class function TIntegerHelper.Parse(

  const AString: string

):Integer;

Description

Parse will attempt to convert the string AString to a Integer value. It uses the StrToInt function to perform the conversion, so no localization is taken into account.

Errors

If the string does not contain a valid Integer value, an EConvertError exception is raised.

See also

TIntegerHelper.ToString

  

Convert the value to string

TIntegerHelper.TryParse

  

Try to convert a string to a Integer, report success or failure

StrToInt

  

Convert a string to an integer value.


Documentation generated on: Sep 28 2017