f$placeholder (f$Platzhalter)
f$placeholder (f$Platzhalter)
Substitute @parameter@ with value of parameter. If the parameter is undefined, the parameter name is removed. The resulting text is returned.
Syntax: | NewText = f$placeholder( OriginalText [,formatted] ) | ||
| Argument | Type | Meaning |
| Text | String | The text in which a replacement is to be made |
| Formatted | Integer | This parameter manages how integer and decimal parameters are entered into the text: formatted = 1: numbers are entered into the result using the saved format or country settings formatted = 0: numbers are entered into the result using decimal presentation This parameter is optional. If it is not used, the numbers are processed as formatted. |
Result: | String | New compiled text | |
Examples: | Surname = 'Smith' Text ='My name is @surname@' Text = f$placeholder(Text) | ||