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);

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!