Formats a string like printf but returns the result as a string instead of printing it.
Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex
See also: printf
string sprintf(string format)