RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarToStr Function

Converts a variant's value to a string.

Pascal
function VarToStr(const V: Variant): string;
C++
AnsiString VarToStr(const Variant V);

Variants

VarToStr converts the data in the variant V to a string and returns the result. If the variant has a null value, VarToStr returns an empty string. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!