Skip to content

TStringHelper.Parse

Return a string representation of the argument

Declaration

Source position: syshelph.inc line 89

public 
  class function Parse(const AValue: Boolean) : string;  Overload;  Static;
  class function Parse(const AValue: Extended) : string;  Overload
                      ;  Static;
  class function Parse(const AValue: Int64) : string;  Overload;  Static;
  class function Parse(const AValue: Integer) : string;  Overload;  Static;

Description

Parse will return a string representation of the argument AValue. How this is done depends on the type of the AValueargument:

Boolean
The result is formatted using BoolToStr .
Extended
The result is formatted using FloatToStr .
Int64
The result is formatted using IntToStr .
Integer
he result is formatted using IntToStr .

See also

Name Description
BoolToStr Convert a boolean value to a string.
FloatToStr Convert a float value to a string using a fixed format.
IntToStr Convert an integer value to a decimal string.