Action group: Text
Description
Replaces one or more format elements in a string with a string representation of the specified object.
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Composite format string | A string in which places for text substitution are denoted as {x}, where x is the ordinal number of the object in the collection. | Robin.String | Yes | |
Object collection to format | A collection of objects, the textual representation of which will replace symbols of the form {x} in the specified string in accordance with their ordinal numbers. Numbering starts from 0. | Robin.Collection | Yes | |
Results | ||||
Result | String variable containing the result of substitution of the specified objects | Robin.String |
If the formatting elements in a string do not have a corresponding numbered element in the object collection, an error will occur.
There is a variable "Collection" with values:
0:Greek, 1: river, 2:cancer, 3: river.
Substitute the elements of the collection into the text: driving ? through ?, sees ? in ? ?
Use the "Composite formatting", "Show message" actions.
The formatted text was displayed in the dialogue window.