Search notes:

printf

Perl
printf family in the standard c library.
In C++, ostringstream might be used as replacement for sprintf.
sprintf in R.
Python's:
The WinAPI equivalent for sprintf is wsprintf.
In the browser object model's console object, there is %s, %d and %f in console.log().
Java's System.out.printf()
In PowerShell, the printf equivalent seems to be the -f operator (which is a short cut for the String.Format function.

Format specification

In most languages, the printf format specification has the following elements %[-][#][0][width][.precision]type.
The % and the type is mandatatory.
The % specifies the start of a format specification.
The type (which is one or more characters) specifies the type of the variable, see formatting characters.

WinAPI

The WinAPI versions of printf seem to be wsprintf and wvsprintf, both exported in user32.dll.
They don't handle floating point.

See also

The Debugging Tools for Windows command .printf
strftime is similar to printf, however it is designed for processing date and time components.
C: A printf like function that prepends the written text with a timestamp.
The percent sign is also used for pretty formats in Git.

Index