Skip to main content

sprintf

sprintf stringName, formatStr [,parameter]...

The sprintf operation is the same as printf, except it prints the formatted output to the string variable stringName rather than to the history area.

Parameters

stringNameResults are "printed" into the named string variable.
formatStrSee printf.
parameterSee printf.

See Also

The printf operation for complete format and parameter descriptions and Creating Formatted Text in the Advanced Topics help file.