.. highlightlang:: us .. index:: sprintf .. _sprintf: sprintf ======= .. us.tag sprintf ENGLISH STR Programming.Convert :ref:`sprintf` returns data in formatted form as a string. .. function:: ssBuffer = sprintf(ssFormat, arg1, ...) .. us.params **Parameters** .. uparam:: ssBuffer *ssBuffer* is a scalar string containing the result of the conversion. .. uparam:: ssFormat *ssFormat* is a scalar string with embedded formatting symbols. It specifies how the arguements *arg1* to *argn* are formatted. The parameter is described in the function :ref:`printf`. .. seealso:: :ref:`overview-strings`, :ref:`printf`, :ref:`fprintf`, :ref:`smprintf`, :ref:`strtod`, :ref:`strtol`, :ref:`ltostr` :sub:`id-1326575`