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

VarToUnicodeStrDef

Convert a variant to string value, specifying a default.

Declaration

Source position: variants.pp line 98

function VarToUnicodeStrDef(

  const V: Variant;

  const ADefault: UnicodeString

):UnicodeString;

Description

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

See also

VarToUnicodeStr

  

Convert a variant to string value.

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.

VarToWideStrDef

  

Convert a variant to string value, specifying a default.


Documentation generated on: Nov 22 2024