Format

Inserts the values of the given parameters into the given string and returns the resulting string.

Syntax

String.Format
   ·  [format]
   ·  [parameters]

Parameters

format
The string in which to insert the parameters. Zero-based indexes surrounded by curly brackets will be replaced with the corresponding parameters.
parameters
A list of strings containing the values that will be inserted. Must match the number of curly bracketed indexes.

Return Value

The string with the replaced values.