Click or drag to resize

Characters Class

Represents a character array and provides methods for manipulating and converting character data.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.Ode.ObsoleteCharacters

Namespace: Altaxo.Calc.Ode.Obsolete
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class Characters

The Characters type exposes the following members.

Constructors
 NameDescription
Public methodCharacters(Int32) Initializes a new instance of the Characters class with the specified length.
Public methodCharacters(String) Initializes a new instance of the Characters class with the specified string.
Public methodCharacters(Char, Boolean) Initializes a new instance of the Characters class with the specified character array.
Public methodCharacters(String, Int32) Initializes a new instance of the Characters class with the specified string and length.
Top
Properties
 NameDescription
Public propertyCharArray Gets the underlying character array.
Public propertyLength Gets the length of the character array.
Top
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
Operators
 NameDescription
Public operatorStatic memberAddition(Characters, Characters) Concatenates two Characters instances.
Public operatorStatic memberAddition(Characters, String) Concatenates a Characters instance and a string.
Public operatorStatic memberAddition(String, Characters) Concatenates a string and a Characters instance.
Public operatorStatic memberEquality(Characters, Characters) Checks if two Characters instances are equal.
Public operatorStatic memberEquality(Characters, String) Checks if a Characters instance and a string are equal.
Public operatorStatic memberEquality(String, Characters) Checks if a string and a Characters instance are equal.
Public operatorStatic memberGreaterThan(Characters, Characters) Checks if the first Characters instance is greater than the second.
Public operatorStatic memberGreaterThan(Characters, String) Checks if a Characters instance is greater than a string.
Public operatorStatic memberGreaterThan(String, Characters) Checks if a string is greater than a Characters instance.
Public operatorStatic memberGreaterThanOrEqual(Characters, Characters) Checks if the first Characters instance is greater than or equal to the second.
Public operatorStatic memberGreaterThanOrEqual(Characters, String) Checks if a Characters instance is greater than or equal to a string.
Public operatorStatic memberGreaterThanOrEqual(String, Characters) Checks if a string is greater than or equal to a Characters instance.
Public operatorStatic member(String to Characters) Implicitly converts a string to a Characters instance.
Public operatorStatic memberInequality(Characters, Characters) Checks if two Characters instances are not equal.
Public operatorStatic memberInequality(Characters, String) Checks if a Characters instance and a string are not equal.
Public operatorStatic memberInequality(String, Characters) Checks if a string and a Characters instance are not equal.
Public operatorStatic memberLessThan(Characters, Characters) Checks if the first Characters instance is less than the second.
Public operatorStatic memberLessThan(Characters, String) Checks if a Characters instance is less than a string.
Public operatorStatic memberLessThan(String, Characters) Checks if a string is less than a Characters instance.
Public operatorStatic memberLessThanOrEqual(Characters, Characters) Checks if the first Characters instance is less than or equal to the second.
Public operatorStatic memberLessThanOrEqual(Characters, String) Checks if a Characters instance is less than or equal to a string.
Public operatorStatic memberLessThanOrEqual(String, Characters) Checks if a string is less than or equal to a Characters instance.
Top
See Also