Click or drag to resize

Characters Methods

The Characters type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAdd Concatenates two character arrays and returns a new Characters instance.
Public methodAdjustLeft Adjusts the characters in the array to the left by removing leading blank spaces.
Public methodAdjustRight Adjusts the characters in the array to the right by removing trailing blank spaces.
Public methodStatic memberAreEqual Determines whether two character arrays are equal.
Public methodCopy(Char) Copies characters from the specified source character array to this instance.
Public methodCopy(String) Copies characters from the specified source string to this instance.
Public methodCopy(Int32, Char) Copies characters from the specified source character array to this instance.
Public methodCopy(Int32, String) Copies characters from the specified source string to this instance.
Public methodCopy(Int32, Int32, Char) Copies a range of characters from the specified source character array to this instance.
Public methodCopy(Int32, Int32, String) Copies a range of characters from the specified source string to this instance.
Public methodEquals Determines whether the specified object is equal to the current Characters instance.
(Overrides ObjectEquals(Object))
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCode Returns the hash code for this instance.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberLargeThan Determines whether the first character array is larger than the second.
Public methodStatic memberLeastThan Determines whether the first character array is less than the second.
Public methodLenTrim Gets the length of the character data after trimming trailing blank spaces.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReplace(Char) Replaces the contents of this instance with the specified character array.
Public methodReplace(Characters) Replaces the contents of this instance with the specified Characters instance.
Public methodReplace(String) Replaces the contents of this instance with the specified string.
Public methodSubstring(Int32) Creates and returns a new Characters object that is a substring of this instance.
Public methodSubstring(Int32, Int32) Creates and returns a new Characters object that is a substring of this instance.
Public methodToBlanks Fills the entire character array with blank spaces.
Public methodToBlanks(Int32) Fills the specified number of characters in the array with blank spaces.
Public methodToBlanks(Int32, Int32) Fills a specified range of the character array with blank spaces.
Public methodToInt32 Converts the character data to a 32-bit signed integer.
Public methodToLower Converts all characters in the array to lowercase.
Public methodToString Returns a string that represents the current Characters instance.
(Overrides ObjectToString)
Public methodToUpper Converts all characters in the array to uppercase.
Public methodTrim Trims trailing blank spaces and returns the resulting string.
Top
See Also