OCLOperators format
(Automatically adding template at the end of the page.) |
No edit summary |
||
Line 1: | Line 1: | ||
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: | |||
{| class="wikitable" | |||
|thetemplate hello - there that can have any number of replacers 3,1 | |||
|} | |||
[[Category:OCL General Operators]] | [[Category:OCL General Operators]] | ||
{{Edited|July|12|2024}} | {{Edited|July|12|2024}} |
Revision as of 10:57, 15 March 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 |