formatText

From Bohemia Interactive Community
Revision as of 22:29, 3 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


formatText [format, arg1, arg2, ...]


Operand types:

[format, arg1, arg2, ...]: Array

Type of returned value:

Structured Text

Compatibility:

Version 2.01 required.

Description:

Creates a structured text by replacing %1, %2, etc. in format with plain or structured texts given as arguments.


Example:

txt = formatText' ["Image: %1", image "data\isniper.paa"]