DriveWorks Pro 15: TextFormat [send feedback...]

TextFormat

This function formats one or more values according to the given formatting string using .NET framework 4 standard format strings.

Syntax

TEXTFORMAT([Format String], [Values])

Format String is the string to format

Values is the value or collection of values (separated with a comma) to be formatted

Examples

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

Table of Contents