|   |   | 
| $str.printf Returns a formatted string in a C sprintf-like fashion. | ||||||||||||||||||||||||
| Usage | ||||||||||||||||||||||||
| <string> $str.printf(<format:string>[,<parameter:variant>[...]]); | ||||||||||||||||||||||||
| Description | ||||||||||||||||||||||||
| This function acts like the C sprintf(): it returns
a string formatted by following the specification in <format>
and by using the following corresponding variadic parameters.
Since the percent sign is used as variable prefix in KVIrc,
this function uses the question mark ? instead. The <format> string can contain the following escape sequences: 
 | ||||||||||||||||||||||||
| Examples | ||||||||||||||||||||||||
| %val = $(1.0 / 3.0); $str.printf("1/3 with a precision of 3 digits is ?.3f, while in scientific notation it's ?e",%val,%val) | ||||||||||||||||||||||||