RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WideString::sprintf Method

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

Pascal
function sprintf(const format: wchar_t*; : ...): WideString&; cdecl;
C++
__cdecl WideString& sprintf(const wchar_t* format, ...);

Use System::WideString::sprintf to set to 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 a reference to the System::WideString (*this) with the resulting value. 

 

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