bitburner-src/markdown/bitburner.ns.sprintf.md
Olivier Gagnon 7a89c0a1bb regen doc
2022-10-09 18:46:13 -04:00

606 B

Home > bitburner > NS > sprintf

NS.sprintf() method

Format a string.

Signature:

sprintf(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