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

34 lines
638 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [vsprintf](./bitburner.ns.vsprintf.md)
## NS.vsprintf() method
Format a string with an array of arguments.
<b>Signature:</b>
```typescript
vsprintf(format: string, args: string[]): string;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| format | string | String to format. |
| args | string\[\] | Formating arguments. |
<b>Returns:</b>
string
Formated text.
## Remarks
RAM cost: 0 GB
see: https://github.com/alexei/sprintf.js