Str.vsprintf

An implementation of the standard vsprintf() function which supports positional parameters, as specified in the Single Unix Specification. Since 2.2

class Str
static
int
vsprintf
(
string string
,
string format
,
void* args
)

Parameters

string string

the buffer to hold the output.

format string

a standard printf() format string, but notice string precision pitfalls.

args void*

the list of arguments to insert in the output.

Return Value

Type: int

the number of bytes printed.

Meta