-
Notifications
You must be signed in to change notification settings - Fork 0
Types: string
Grant Shotwell edited this page Aug 31, 2020
·
2 revisions
| Method Overflow | Return Value | Description |
|---|---|---|
| Format() | string | Equivalent to string interpolation in C#. |
// Format() Example //
int x = 0;
Chat.Tellraw("@a", "{{x}} is replaced with {x}.".Format());
// "{x} is replaced with 0."
Chat.Tellraw("@a", "{{x + 1}} is replaced with {x + 1}".Format());
// "{x + 1} is replaced with 1."