From RAD Studio API Documentation
Jump to: navigation, search


AnsiStringT& __cdecl sprintf(const char* format, ...) {


Type Visibility Source Unit Parent
function public dstring.h System AnsiStringT


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

Use sprintf to set to the value of the AnsiStringT, 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 this AnsiStringT with the resulting value.

See Also