Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.StringBuilder toString Method

Creates a string from the contents of a Sys.StringBuilder instance, and optionally inserts a delimiter between each element of the created string.

Syntax

var stringBuilderVar = new Sys.StringBuilder( string );
var stringVar = stringBuilderVar.toString( separator );

Arguments

separator

(Optional) A string to append between each element of the string that is returned.

Return Value

A string representation of the StringBuilder instance. If separator is specified, the delimiter string is inserted between each element of the returned string.

Remarks

Use the toString method to create a string from the contents of a StringBuilder instance. Use the toString method with the optional separator parameter to insert a specified string delimiter between each element of the created string.