OCLOperators format
No edit summary
(Updated Edited template to July 12, 2025.)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:OCLOperators]]
<message>Write the content here to display this box</message>
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]]
For more details see [https://learn.microsoft.com/en-us/dotnet/api/system.string.format?view=net-8.0 Microsofts page]
{{Edited|July|12|2025}}

Latest revision as of 05:57, 20 January 2025

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