bitburner-src/markdown/bitburner.ns.vsprintf.md

628 B

Home > bitburner > NS > vsprintf

NS.vsprintf() method

Format a string with an array of arguments.

Signature:

vsprintf(format: string, args: any[]): string;

Parameters

Parameter Type Description
format string String to format.
args any[] Formatting arguments.

Returns:

string

Formatted text.

Remarks

RAM cost: 0 GB

see: https://github.com/alexei/sprintf.js