bitburner-src/markdown/bitburner.ns.sprintf.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

34 lines
606 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; [sprintf](./bitburner.ns.sprintf.md)
## NS.sprintf() method
Format a string.
<b>Signature:</b>
```typescript
sprintf(format: string, ...args: any[]): string;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| format | string | String to format. |
| args | any\[\] | Formatting arguments. |
<b>Returns:</b>
string
Formatted text.
## Remarks
RAM cost: 0 GB
see: https://github.com/alexei/sprintf.js