FormatString2 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 two substitution strings.
[System.Globalization].[FormatString2] ( @format, @item0, @item1 )
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.
Return Types
nvarchar(max)