This function formats one or more values according to the given formatting string using .NET framework 4 standard format strings.
TextFormat([Format String], [Values])
Where:
Format String is the string to format.
Values is the value or collection of values (separated with a comma) to be formatted.
Rule | Meaning |
---|---|
TextFormat("C:\Program Files\{0:0.#}\Hello\World\{1:yyyy-MM-dd hh:mm:ss}",9.7, Now()) | Will replace the format string {0:0.#} with 9.7 and the format string {1:yyyy-MM-dd hh:mm:ss} with the result of the Now() function |