VarToStrDef function
Convert a variant to string value, specifying a default.
Declaration
function VarToStrDef(const V: Variant; const ADefault: AnsiString)
: AnsiStringArguments
V | Variant to convert. |
ADefault | Value to return if the variant equals
|
Function result
The String representation of the variant value.
Description
VarToStr attempts to convert the variant
V to a string.
If the value is
Null, the result is the specified
aDefault string.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
