VarToUnicodeStr

Convert a variant to string value

Declaration

Source position: variants.pp line 90

  function VarToUnicodeStr(const V: Variant) : UnicodeString;

Description

VarToUnicodeStr attempts to convert the variant V to a string. If the value is Null, the result is an empty string.

See also

Name Description
VarIsStr Check if the variant is a string
VarToStr Convert a variant to string value
VarToUnicodeStr Convert a variant to string value
VarToUnicodeStrDef Convert a variant to string value, specifying a default
VarToWideStr Convert a variant to string value