Predefined function reference

sprintf

A reference entry for sprintf

Predefined function · io

sprintf (string str[, mixed sprint1, mixed sprint2, mixed sprint3, ... , mixed sprintN ]) ⇒ mixed

Performs a replacement of each %s 'sprint' within a string, str.