RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
UnicodeString::printf Method

Sets value of System::UnicodeString instance, given format string and its arguments.

Pascal
function printf(const format: wchar_t*; : ...): Integer; cdecl;
C++
__cdecl int printf(const wchar_t* format, ...);

Use System::UnicodeString::printf to set the value of a System::UnicodeString instance, given a standard C++ format specifier. Pass the values to any arguments in the format specifier as additional parameters following the format parameter. This method returns the length in characters of the final formatted string. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!