bitburner.ns.sprintf.md

September 26, 2025 ยท View on GitHub

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

Contents

  1. 1NS.sprintf() method
  2. 2Parameters
  3. 3Remarks