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

TNativeUIntHelper.Parse

Convert from a string

Declaration

Source position: syshelph.inc line 615

public class function TNativeUIntHelper.Parse(

  const AString: string

):NativeUInt;

Description

Parse will attempt to convert the string AString to a NativeUInt 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 NativeUInt value, an EConvertError exception is raised.

See also

TNativeUIntHelper.ToString

  

Convert the value to string

TNativeUIntHelper.TryParse

  

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

StrToInt

  

Convert a string to an integer value.


Documentation generated on: May 14 2021