System.AnsiStringT.sprintf

From RAD Studio API Documentation
Jump to: navigation, search

C++

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

Properties

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

Description

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