Sys.StringBuilder Constructor
Initializes a new instance of the Sys.StringBuilder class.
Syntax
var stringBuilderVar = new StringBuilder(initialText);
Arguments
-
initialText
-
(Optional) The string that is used to initialize the value of the instance. If the value is null, the new StringBuilder instance will contain an empty string ("").
Remarks
You can specify a string in the optional initialTextparameter to initialize the value of the StringBuilder instance.