StringBuilder

StringBuilder


Allows easy manipulation, concatenation and removal of strings and characters.


Remarks

This class can be used to quickly minpulate strings. It allows for easy concatenation, removal and modification of the current underlying string value.

See Also

Project VBCorLib Overview | Constructors | NumberFormatInfo | DateTimeFormatInfo

Implements:

IObject 

Public:

Properties:

NameDescription
 Capacity (get)Returns the buffer size of the string value. 
 Capacity (let)Sets the amount of memory allocated in characters. 
 Chars (get)Returns a character from the string value. 
 Chars (let)Sets a character in the string value. 
 FillCharacter (get)Returns the fill character used to pad empty space. 
 FillCharacter (let)Sets the fill character used to pad empty space. 
 Length (get)Returns the length of the current string value. 
 Length (let)Sets the length of the current string value. 

Methods:

NameDescription
 AppendAppends a string to the current string value. 
 AppendCharAppends a character a specified number of times to the end of string value. 
 AppendCharsAppends an array of characters to the end of the string value. 
 AppendFormatAppends a string with formatted arguments. 
 AppendFormatExAppends a string with formatted arguments using the supplied provider. 
 AppendLineAppends the supplied string and a Carriage-Return/Linefeed to the end of the StringBuilder. 
 AppendQuickThis function is designed to append strings quickly. 
 AppendStringAppends a string to the current string value. 
 CopyToCopies a set of characters from the StringBuilder into a character array. 
 EnsureCapacityEnsures that the internal buffer has atleast the requested amount. 
 EqualsReturns a boolean indicating if the value and this object instance are the same instance. 
 GetHashCodeReturns a pseudo-unique number identifying this instance. 
 InsertInserts a string into the current string value. 
 InsertCharsInserts an array of characters into the string value. 
 RemoveRemoves a number of characters from the string value. 
 ReplaceReplaces a substring in the string value with a new string. 
 ToStringReturns the current version of the string value.