Valadoc | Vala | Tutorial | API-References | Markup

printf


Description:

[ PrintfFormat ]
public void printf (string format, ...)

Writes a formatted string into a StringBuilder.

This is similar to the standard C-sprintf function, except that the StringBuilder buffer automatically expands to contain the results. The previous contents of the StringBuilder are destroyed.

Parameters:

format the string format. See the printf documentation
... the parameters to insert into the format string