System.WideString.sprintf

From RAD Studio API Documentation
Jump to: navigation, search

C++

WideString& __cdecl         sprintf(const wchar_t* format, ...); // Returns *this

Properties

Type Visibility Source Unit Parent
function public wstring.h System WideString

Description

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

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

See Also