*vsprintf* -- Return a formatted string

  string vsprintf(string format, array args)~

Operates as |sprintf| but accepts an array of arguments, rather than a
variable number of arguments.

{format} See |sprintf| for a description of {format}.

{args}

Return array values as a formatted string according to {format} (which is
described in the documentation for |sprintf|).

|vsprintf|: zero-padded integers

<?php >
  print vsprintf("%04d-%02d-%02d", explode('-', '1988-8-1')); // 1988-08-01
?>





|sprintf| |vprintf|

vim:ft=help:
