Formats a string using sprintf-style %s and %j parameter replacements. Also supports positional ${digit} markers.
%s
%j
${digit}
The format string (or an object to stringify)
The arguments to inject into the format string
The formatted string
sprintf('Hello %s', 'World'); // 'Hello World' Copy
sprintf('Hello %s', 'World'); // 'Hello World'
Formats a string using sprintf-style
%sand%jparameter replacements. Also supports positional${digit}markers.