VarToWideStrDef

Convert a variant to string value, specifying a default

Declaration

Source position: variants.pp line 89

  function VarToWideStrDef(const V: Variant; const ADefault: WideString)
                           : WideString;

Description

VarToWideStr attempts to convert the variant V to a string. If the value is Null, the result is the specified aDefault string.

See also

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