Printf Format String

Printf format string (of which "printf" stands for "print formatted") refers to a control parameter used by a class of functions typically associated with some types of programming languages. The format string specifies a method for rendering an arbitrary number of varied data type parameter(s) into a string. This string is then by default printed on the standard output stream, but variants exist that perform other tasks with the result. Characters in the format string are usually copied literally into the function's output, with the other parameters being rendered into the resulting text at points marked by format specifiers, which are typically introduced by a % character.

Read more about Printf Format StringTimeline, Format Placeholders, Risks of Using Field Width Versus Explicit Delimiters in Tabular Output, Custom Format Placeholders, Programming Languages With Printf

Other articles related to "printf format string, string":

Printf Format String - Programming Languages With Printf
... Lisp D F# GNU MathProg GNU Octave Go Haskell Java (since version 1.5) Lua (string.format) Maple Mathematica MATLAB Mythryl OCaml PHP Perl Python (using the % operator) R Ruby ...

Famous quotes containing the word string:

    A culture may be conceived as a network of beliefs and purposes in which any string in the net pulls and is pulled by the others, thus perpetually changing the configuration of the whole. If the cultural element called morals takes on a new shape, we must ask what other strings have pulled it out of line. It cannot be one solitary string, nor even the strings nearby, for the network is three-dimensional at least.
    Jacques Barzun (b. 1907)