Unit 'Variants' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

VarToStr

Convert a variant to string value.

Declaration

Source position: variants.pp line 93

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

VarToStrDef

  

Convert a variant to string value, specifying a default.

VarIsStr

  

Check if the variant is a string.

VarToWideStr

  

Convert a variant to string value.


Documentation generated on: Nov 23 2024