sprintf( <format>, <arguments> )


Module: Utils

Summary:

Returns a composed string with arguments. Use % to replace it with argument.



Example:

 text = sprintf( "Hello, %!", "Killtube" );



Required Args:

  • 1 : <format> string that contains a format string.
  • 2 : <arguments> depending on the format string, the function may expect a sequence of additional arguments, each containing a value to be used to replace % in the format string.
    There should be at least as many of these arguments as the number of values specified in the format specifiers. Additional arguments are ignored by the function.