RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiString::cat_vprintf Method

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

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

Use cat_System::AnsiString::cat_vprintf to append to the value of the System::AnsiString::AnsiString 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::AnsiString::AnsiString

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!