RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WideString::printf Method

Sets the value of the System::WideString given a format string and its arguments.

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

Use System::WideString::printf to set the value of the System::WideString 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 of the final formatted string. 

 

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