From RAD Studio API Documentation
Jump to: navigation, search


int            __cdecl     cat_printf(const wchar_t* format, ...);  // Returns formatted length


Type Visibility Source Unit Parent
function public ustring.h System UnicodeString


Appends to value of UnicodeString, given format string and its arguments.

Use cat_printf to modify the value of the UnicodeString by appending the result of using 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 the number of characters appended to the UnicodeString.

Warning: The value returned by UnicodeString.c_str() under OS X and iOS is char16_t* while the cat_printf function expects wchar_t*.

See Also