System.AnsiStringBase.vprintf

From RAD Studio API Documentation
Jump to: navigation, search

C++

int         __cdecl         vprintf(int codePage, const char* format, va_list); // Returns formatted length

Properties

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

Description

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

Use vprintf to set the value of AnsiStringBase, given a standard C++ format specifier. Pass the values to any arguments in the format specifier as a variable argument list that was created using va_start.

This method returns the length of the final, formatted string.

See Also