bitburner-src/markdown/bitburner.ns.sprintf.md
Olivier Gagnon 8b69fd7faa doc
2022-01-15 18:39:37 -05:00

604 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[] Formating arguments.

Returns:

string

Formated text.

Remarks

RAM cost: 0 GB

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