Difference between revisions of "Manual:DIL Manual/textformat()"
Jump to navigation
Jump to search
(XML import) |
(XML import) |
||
| Line 1: | Line 1: | ||
| + | <span id="bftextformat"></span> | ||
| + | string textformat(s : string) | ||
| + | s : The text string to format. The string is formatted according to | ||
| + | the escape format codes as defined in one of the other documents. | ||
| + | Returns: The formatted string which will automatically adapt to each | ||
| + | individual player's settings. | ||
| + | Example: | ||
| + | ts := note.extra.descr; | ||
| + | rs := textformat(ts); | ||
| + | |||
| + | |||
| + | ---~---~---~---~---~---~---~---~--- | ||
<span id="bftextformat"></span> | <span id="bftextformat"></span> | ||
string textformat(s : string) | string textformat(s : string) | ||
Latest revision as of 22:31, 4 December 2025
string textformat(s : string)
s : The text string to format. The string is formatted according to
the escape format codes as defined in one of the other documents.
Returns: The formatted string which will automatically adapt to each
individual player's settings.
Example:
ts := note.extra.descr;
rs := textformat(ts);
---~---~---~---~---~---~---~---~---
string textformat(s : string)
s : The text string to format. The string is formatted according to
the escape format codes as defined in one of the other documents.
Returns: The formatted string which will automatically adapt to each
individual player's settings.
Example:
ts := note.extra.descr;
rs := textformat(ts);
---~---~---~---~---~---~---~---~---