string Format (string format, string argument1 [, string argument2, string argument3, string argument4, string argument5, string argument6, string argument7, string argument8, string argument9, string argument10])
Format a message using the C# string formatter.
Parameters:
format | Describes the format to use. |
argument1 | The first argument. |
argument2 – argument10 | Additional arguments (optional). |
Returns:
The formatted value.
Create the message: '17 total'.
<xsl:value-of select="wwstring:Format('{0} total', 17)" />
Create the message: '17 total, 15 of 17'.
<xsl:value-of select="wwstring:Format('{0} total, {1} of {0}.', 17, 15)" />
Last modified date: 10/14/2020