mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
34 lines
634 B
Markdown
34 lines
634 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[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.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
vsprintf(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
|
|
|