Sign in Join
FPDoc Onlineexperiment

VarToStr function

In unit Variants

Convert a variant to string value.

Declaration

pascal
function VarToStr(const V: Variant): AnsiString

Arguments

V

Variant to convert.

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 an empty string.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.