Mono Class Library: OverviewSystem.String: Method Members |
The methods of System.String are listed below. For a list of all members, see the String Members list.
See Also: Inherited members from System.Object
Clone() : object Returns a reference to the current instance of string. staticCompare(string, string) : int Compares two string objects in a case-sensitive manner. staticCompare(string, string, bool) : int Returns sort order of two string objects, ignoring or honoring their case. staticCompare(string, string, StringComparison) : int Documentation for this section has not yet been entered. staticCompare(string, string, bool, System.Globalization.CultureInfo) : int Documentation for this section has not yet been entered. staticCompare(string, int, string, int, int) : int Compares substrings of two strings. staticCompare(string, int, string, int, int, bool) : int Compares substrings of two strings, ignoring or honoring their case. staticCompare(string, int, string, int, int, StringComparison) : int Documentation for this section has not yet been entered. staticCompare(string, int, string, int, int, bool, System.Globalization.CultureInfo) : int Documentation for this section has not yet been entered. staticCompareOrdinal(string, string) : int Compares two specified string objects based on the code points of the contained Unicode characters. staticCompareOrdinal(string, int, string, int, int) : int Compares substrings of two specified string objects based on the code points of the contained Unicode characters.CompareTo(object) : int Returns the sort order of the current instance compared to the specified object.CompareTo(string) : int Returns the sort order of the current instance compared to the specified string. staticConcat(object) : string Documentation for this section has not yet been entered. staticConcat(params object[]) : string Concatenates the string representations of the elements in an array of object instances. staticConcat(params string[]) : string Concatenates the elements of a specified array. staticConcat(object, object) : string Concatenates the string representations of two specified objects. staticConcat(string, string) : string Concatenates two specified instances of string. staticConcat(object, object, object) : string Concatenates the string representations of three specified objects, in order provided. staticConcat(string, string, string) : string Concatenates three specified instances of string. staticConcat(object, object, object, object) : string Documentation for this section has not yet been entered. staticConcat(string, string, string, string) : string Documentation for this section has not yet been entered.Contains(string) : bool Documentation for this section has not yet been entered. staticCopy(string) : string Creates a new instance of string with the same value as a specified instance of string.CopyTo(int, char[], int, int) Copies a specified number of characters from a specified position in the current string instance to a specified position in a specified array of Unicode characters.EndsWith(string) : bool Returns a bool value that indicates whether the ending characters of the current instance match the specified string.EndsWith(string, StringComparison) : bool Documentation for this section has not yet been entered.EndsWith(string, bool, System.Globalization.CultureInfo) : bool Documentation for this section has not yet been entered. overrideEquals(object) : bool Determines whether the current instance and the specified object have the same value.Equals(string) : bool Determines whether the current instance and the specified string have the same value. staticEquals(string, string) : bool Determines whether two specified string objects have the same value.Equals(string, StringComparison) : bool Documentation for this section has not yet been entered. staticEquals(string, string, StringComparison) : bool Documentation for this section has not yet been entered. staticFormat(string, object) : string Replaces the format specification in a provided string with a specified textual equivalent of the value of a specified object instance. staticFormat(string, params object[]) : string Replaces the format specification in a specified string with the textual equivalent of the value of a corresponding object instance in a specified array. staticFormat(IFormatProvider, string, params object[]) : string Replaces the format specification in a specified string with the culture-specific textual equivalent of the value of a corresponding object instance in a specified array. staticFormat(string, object, object) : string Replaces the format specification in a specified string with the textual equivalent of the value of two specified object instances. staticFormat(string, object, object, object) : string Replaces the format specification in a specified string with the textual equivalent of the value of three specified object instances.GetEnumerator() : CharEnumerator Retrieves an object that can iterate through the individual characters in the current instance. overrideGetHashCode() : int Generates a hash code for the current instance.GetTypeCode() : TypeCode Documentation for this section has not yet been entered.IndexOf(char) : int Returns the index of the first occurrence of a specified Unicode character in the current instance.IndexOf(string) : int Returns the index of the first occurrence of a specified string in the current instance.IndexOf(char, int) : int Returns the index of the first occurrence of a specified Unicode character in the current instance, with the search starting from a specified index.IndexOf(string, int) : int Returns the index of the first occurrence of a specified string in the current instance, with the search starting from a specified index.IndexOf(string, StringComparison) : int Documentation for this section has not yet been entered.IndexOf(char, int, int) : int Returns the index of the first occurrence of a specified Unicode character in the current instance, with the search over the specified range starting at the provided index.IndexOf(string, int, int) : int Returns the index of the first occurrence of a specified string in the current instance, with the search over the specified range starting at the provided index.IndexOf(string, int, StringComparison) : int Documentation for this section has not yet been entered.IndexOf(string, int, int, StringComparison) : int Documentation for this section has not yet been entered.IndexOfAny(char[]) : int Reports the index of the first occurrence in the current instance of any character in a specified array of Unicode characters.IndexOfAny(char[], int) : int Returns the index of the first occurrence of any element in a specified array of Unicode characters in the current instance, with the search starting from a specified index.IndexOfAny(char[], int, int) : int Returns the index of the first occurrence of any element in a specified Array of Unicode characters in the current instance, with the search over the specified range starting from the provided index.Insert(int, string) : string Returns a string equivalent to the current instance with a specified string inserted at the specified position. staticIntern(string) : string Retrieves the system's reference to a specified string. staticIsInterned(string) : string Retrieves a reference to a specified string.IsNormalized() : bool Documentation for this section has not yet been entered.IsNormalized(System.Text.NormalizationForm) : bool Documentation for this section has not yet been entered. staticIsNullOrEmpty(string) : bool Documentation for this section has not yet been entered. staticJoin(string, string[]) : string Concatenates the elements of a specified string array, inserting a separator string between each element pair and yielding a single concatenated string. staticJoin(string, string[], int, int) : string Concatenates a specified separator string between the elements of a specified string array, yielding a single concatenated string.LastIndexOf(char) : int Returns the index of the last occurrence of a specified character within the current instance.LastIndexOf(string) : int Returns the index of the last occurrence of a specified string within the current instance.LastIndexOf(char, int) : int Returns the index of the last occurrence of a specified character within the current instance.LastIndexOf(string, int) : int Returns the index of the last occurrence of a specified string within the current instance, starting at a given position.LastIndexOf(string, StringComparison) : int Documentation for this section has not yet been entered.LastIndexOf(char, int, int) : int Returns the index of the last occurrence of a specified character in the provided range of the current instance.LastIndexOf(string, int, int) : int Returns the index of the last occurrence of a specified string in the provided range of the current instance.LastIndexOf(string, int, StringComparison) : int Documentation for this section has not yet been entered.LastIndexOf(string, int, int, StringComparison) : int Documentation for this section has not yet been entered.LastIndexOfAny(char[]) : int Returns the index of the last occurrence of any element of a specified array of characters in the current instance.LastIndexOfAny(char[], int) : int Returns the index of the last occurrence of any element of a specified array of characters in the current instance.LastIndexOfAny(char[], int, int) : int Returns the index of the last occurrence of any of specified characters in the provided range of the current instance.Normalize() : string Documentation for this section has not yet been entered.Normalize(System.Text.NormalizationForm) : string Documentation for this section has not yet been entered.PadLeft(int) : string Right-aligns the characters in the current instance, padding with spaces on the left, for a specified total length.PadLeft(int, char) : string Right-aligns the characters in the current instance, padding on the left with a specified Unicode character, for a specified total length.PadRight(int) : string Left-aligns the characters in the current instance, padding with spaces on the right, for a specified total number of characters.PadRight(int, char) : string Left-aligns the characters in the current instance, padding on the right with a specified Unicode character, for a specified total number of characters.Remove(int) : string Documentation for this section has not yet been entered.Remove(int, int) : string Deletes a specified number of characters from the current instance beginning at a specified index.Replace(char, char) : string Replaces all instances of a specified Unicode character with another specified Unicode character.Replace(string, string) : string Replaces all instances of a specified substring within the current instance with another specified string.Split(params char[]) : string[] Returns substrings of the current instance that are delimited by the specified characters.Split(char[], int) : string[] Returns substrings of the current instance that are delimited by the specified characters.Split(char[], StringSplitOptions) : string[] Documentation for this section has not yet been entered.Split(string[], StringSplitOptions) : string[] Documentation for this section has not yet been entered.Split(char[], int, StringSplitOptions) : string[] Documentation for this section has not yet been entered.Split(string[], int, StringSplitOptions) : string[] Documentation for this section has not yet been entered.StartsWith(string) : bool Returns a bool value that indicates whether the start of the current instance matches the specified string.StartsWith(string, StringComparison) : bool Documentation for this section has not yet been entered.StartsWith(string, bool, System.Globalization.CultureInfo) : bool Documentation for this section has not yet been entered.Substring(int) : string Retrieves a substring from the current instance, starting from a specified index.Substring(int, int) : string Retrieves a substring from the current instance, starting from a specified index, continuing for a specified length.ToCharArray() : char[] Copies the characters in the current instance to a Unicode character array.ToCharArray(int, int) : char[] Copies the characters in a specified substring in the current instance to a Unicode character array.ToLower() : string Returns a copy of this string in lowercase.ToLower(System.Globalization.CultureInfo) : string Documentation for this section has not yet been entered.ToLowerInvariant() : string Documentation for this section has not yet been entered. overrideToString() : string Returns a string representation of the value of the current instance.ToString(IFormatProvider) : string Returns this instance of String; no actual conversion is performed.ToUpper() : string Returns a copy of the current instance with all elements converted to uppercase, using default properties.ToUpper(System.Globalization.CultureInfo) : string Documentation for this section has not yet been entered.ToUpperInvariant() : string Documentation for this section has not yet been entered.Trim() : string Removes all occurrences of white space characters from the beginning and end of the current instance.Trim(params char[]) : string Removes all occurrences of a set of characters provided in a character Array from the beginning and end of the current instance.TrimEnd(params char[]) : string Removes all occurrences of a set of characters specified in a Unicode character Array from the end of the current instance.TrimStart(params char[]) : string Removes all occurrences of a set of characters specified in a Unicode character array from the beginning of the current instance.