RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringT::cat_vprintf Method

Appends the result of a given format string and its arguments to the end of the System::AnsiStringT.

Pascal
function cat_vprintf(const format: char*; list: va_list): Integer; cdecl;
C++
__cdecl int cat_vprintf(const char* format, va_list list);

Use cat_System::AnsiStringT::cat_vprintf to append to the value of the System::AnsiStringT 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 number of bytes appended to the System::AnsiStringT

 

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