OCLOperators format
(Adding message template to the top of the page)
(Replacing message template with parser tag)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
The format is a static method of the type String:
The format is a static method of the type String:
  String.format('thetemplate {0} - {1} that can have any number of replacers, in this case {2}','hello','there',3)
  String.format('thetemplate {0} - {1} that can have any number of replacers, in this case {2}','hello','there',3)

Revision as of 07:50, 17 June 2024

This page was created by Peter on 2019-11-18. Last edited by Edgar on 2025-01-20.

The format is a static method of the type String:

String.format('thetemplate {0} - {1} that can have any number of replacers, in this case {2}','hello','there',3)

The sample above will produce:

thetemplate hello - there that can have any number of replacers 3,1

For more details see Microsofts page


MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments