FormatString5 Function (System.Globalization Schema)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Returns a formatted string based on the string template and five substitution strings.

[System.Globalization].[FormatString5] ( @format, @item0, @item1, @item2, @item3, @item4 )

Arguments

@format

Type: nvarchar(max). A template for formatting the output string. Indexed format items within braces are replaced by the "item" parameter values. For example, the string "{0}" would be replaced by the value of parameter @item0.

@item0

Type: nvarchar(max). A string that replaces the "{0}" item in the @format string.

@item1

Type: nvarchar(max). A string that replaces the "{1}" item in the @format string.

@item2

Type: nvarchar(max). A string that replaces the "{2}" item in the @format string.

@item3

Type: nvarchar(max). A string that replaces the "{3}" item in the @format string.

@item4

Type: nvarchar(max). A string that replaces the "{4}" item in the @format string.

Return Types

nvarchar(max)

Remarks

See Also

Reference

System.Globalization Functions
System.Globalization Schema

Send comments about this topic to Microsoft.