[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [vsprintf](./bitburner.ns.vsprintf.md) ## NS.vsprintf() method Format a string with an array of arguments. **Signature:** ```typescript vsprintf(format: string, args: any[]): string; ``` ## Parameters
| Parameter | Type | Description |
|---|---|---|
| format | string | String to format. |
| args | any\[\] | Formatting arguments. |