Formats the specified string/number into the specified format. This method always uses the invariant culture.

Syntax

Smartsite SXML CopyCode image Copy Code
string string.format(string formatting, any[ ] args)

Parameters

Name Data Type Description
formatting String The formatting string.
args Any[ ] The arguments.

Return Value

Data Type Description
String A formatted string.

Expand image Example

SXML