GOA - System.String

String Class


Represents text. This class cannot be inherited.

Definition

public sealed class String: Object, IEnumerable, IComparable, ICloneable

Members Table

MethodDescription
CloneReturns a reference to this instance of String.
CompareOverloaded. Compares two specified String objects.
CompareToOverloaded. Compares this instance with a specified object.
ConcatOverloaded. Concatenates one or more instances of String, or the String representations of the values of one or more instances of Object.
ContainsReturns a value indicating whether the specified String object occurs within this string.
CopyToCopies a specified number of characters from a specified position in this instance to a specified position in an array of Unicode characters.
EndsWithOverloaded. Determines whether the end of this instance matches the specified String.
EqualsOverloaded. Compares two objects to determine if they are equal.
GetEnumeratorRetrieves an object that can iterate through the individual characters in this instance.
GetHashCodeOverriden. Returns the hash code for this instance.
GetTypeGets the Type of the current instance. (Inherited from Object)
IndexOfOverloaded. Reports the index of the first occurrence of a String, or one or more characters, within this instance.
IndexOfAnyOverloaded. Reports the index of the first occurrence in this instance of any character in a specified array of Unicode characters.
InsertInserts a specified instance of String at a specified index position in this instance.
IsNullOrEmptyIndicates whether the specified String object is null or an Empty string.
JoinOverloaded. Concatenates a specified separator String between each element of a specified String array, yielding a single concatenated string.
LastIndexOfOverloaded. Reports the index position of the last occurrence of a specified Unicode character or String within this instance.
LastIndexOfAnyOverloaded. Reports the index position of the last occurrence in this instance of one or more characters specified in a Unicode array.
PadLeftOverloaded. Right-aligns the characters in this instance, padding on the left with spaces or a specified Unicode character for a specified total length.
PadRightOverloaded. Left-aligns the characters in this string, padding on the right with spaces or a specified Unicode character, for a specified total length.
ReferenceEqualsDetermines whether the specified Object instances are the same instance. (Inherited from Object)
RemoveDeletes a specified number of characters from this instance beginning at a specified position.
RepeatOverloaded. Repeats a specified string.
ReplaceOverloaded. Replaces all occurrences of a specified Unicode character or String in this instance, with another specified Unicode character or String.
SplitOverloaded. Identifies the substrings in this instance that are delimited by one or more characters specified in an array, then places the substrings into a String array.
StartsWithOverloaded. Determines whether the beginning of this instance matches the specified String.
SubstringOverloaded. Retrieves a substring from this instance.
ToCharArrayOverloaded. Copies the characters in this instance to a Unicode character array.
ToLowerReturns a copy of this String in lowercase, using the casing rules of the current culture.
ToStringOverriden. Returns this instance of String; no actual conversion is performed.
ToUpperReturns a copy of this String in uppercase, using the casing rules of the current culture.
TrimOverloaded. Removes all occurrences of a specified character or a set of specified characters from the beginning and end of this instance.
TrimEndOverloaded. Removes all occurrences of a specified character or a set of specified characters from the end of this instance.
TrimStartOverloaded. Removes all occurrences of a specified character or a set of specified characters from the beginning of this instance.
PropertyDescription
LengthGets the number of characters in this instance.
FieldDescription
EmptyRepresents the empty string.

Inheritance Hierarchy

Object
String

Class Information

NamespaceSystem
Flash Librarycorlib.scl
Flash Library Version2.0.0.2466
Silverlight LibrarySystem.Windows.Forms.dll



© 2003-2007 NETiKA Technologies. All rights reserved.