Skip to content

sprintf

string  sprintf(string format, ...)

Formats a string like printf but returns the result as a string instead of printing it.

Tip You can use this function pad a number (such as the frame number in a filename) with zeros (similarly to the padzero expression function) using a format such as sprintf("texture%04d.exr", @Frame).