System.Text.StringBuilder

Summary


Represents a mutable string of characters.
Defined in StringBuilder.js

Constructors

System.Text.StringBuilder(<String> value)
Initializes a new instance of the StringBuilder class using the specified string.

Parameters

  • value - The string used to initialize the value of the instance. If value is a null reference, the new StringBuilder will contain the empty string.

Methods

  • void Append(<Object> value)
    Appends the string representation of a specified object to the end of this instance.

    Parameters

    • value - The object to append.
  • void AppendFormat()
    Appends a formatted string, which contains zero or more format specifications, to this instance. Each format specification is replaced by the string representation of a corresponding object argument.

    Parameters

    • format - A string containing zero or more format specifications.
    • args - An Object array containing zero or more objects to format.
  • Int GetLength()
    Gets the length of this instance.

    Return Values

    The length of this instance.
  • String ToString()
    Converts this instance to a String.

    Return Values

    A string whose value is the same as this instance.