The methods of Java.Lang.String are listed below. For a list of all members, see the String Members list.
See Also: Inherited members from Java.Lang.Object
CharAt(int)Returns the char at index. | ||
CodePointAt(int)Returns the Unicode code point at the given index. | ||
CodePointBefore(int)Returns the Unicode code point that precedes the given index. | ||
CodePointCount(int, int)Calculates the number of Unicode code points between start and end. | ||
CompareTo(string)Compares this string to the given string. | ||
CompareToIgnoreCase(string)Compares this string to the given string, ignoring case differences. | ||
Concat(string)Concatenates this string and the specified string. | ||
Contains(ICharSequence)Returns true if this string contains the charss from the given CharSequence. | ||
Contains(string)Documentation for this section has not yet been entered. | ||
ContentEquals(ICharSequence)Returns true if the chars in the given CharSequence are the same as those in this string. | ||
ContentEquals(StringBuffer)Returns true if the chars in the given StringBuffer are the same as those in this string. | ||
ContentEquals(string)Documentation for this section has not yet been entered. | ||
static | CopyValueOf(char[])Creates a new string by copying the given char[]. | |
static | CopyValueOf(char[], int, int)Creates a new string by copying the given subsequence of the given char[]. | |
EndsWith(string)Compares the specified string to this string to determine if the specified string is a suffix. | ||
EqualsIgnoreCase(string)Compares the given string to this string ignoring case. | ||
static | Format(string, params Object[])Documentation for this section has not yet been entered. | |
static | Format(Java.Util.Locale, string, params Object[])Documentation for this section has not yet been entered. | |
GetBytes()Returns a new byte array containing the code points in this string encoded using the system's Java.Nio.Charset.Charset.DefaultCharset. | ||
GetBytes(Java.Nio.Charset.Charset)Returns a new byte array containing the code points of this string encoded using the given charset. | ||
GetBytes(string)Returns a new byte array containing the code points of this string encoded using the named charset. | ||
GetBytes(int, int, byte[], int)Mangles a subsequence of this string into a byte array by stripping the high order bits from each char. | ||
GetChars(int, int, char[], int)Copies the given subsequence of this string to the given array starting at the given offset. | ||
GetEnumerator()Documentation for this section has not yet been entered. | ||
IndexOf(int)Returns the first index of the given code point, or -1. | ||
IndexOf(string)Returns the first index of the given string, or -1. | ||
IndexOf(int, int)Returns the next index of the given code point, or -1. | ||
IndexOf(string, int)Returns the next index of the given string in this string, or -1. | ||
Intern()Returns an interned string equal to this string. | ||
LastIndexOf(int)Returns the last index of the code point c, or -1. | ||
LastIndexOf(string)Returns the index of the start of the last match for the given string in this string, or -1. | ||
LastIndexOf(int, int)Returns the last index of the code point c, or -1. | ||
LastIndexOf(string, int)Returns the index of the start of the previous match for the given string in this string, or -1. | ||
Length()Returns the number of chars in this string. | ||
Matches(string)Tests whether this string matches the given regularExpression. | ||
OffsetByCodePoints(int, int)Returns the index within this object that is offset from index by codePointOffset code points. | ||
RegionMatches(int, string, int, int)Returns true if the given subsequence of the given string matches this string starting at the given offset. | ||
RegionMatches(bool, int, string, int, int)Returns true if the given subsequence of the given string matches this string starting at the given offset. | ||
Replace(ICharSequence, ICharSequence)Returns a copy of this string after replacing occurrences of target replaced with replacement. | ||
Replace(char, char)Returns a copy of this string after replacing occurrences of the given char with another. | ||
Replace(string, string)Documentation for this section has not yet been entered. | ||
ReplaceAll(string, string)Replaces all matches for regularExpression within this string with the given replacement. | ||
ReplaceFirst(string, string)Replaces the first match for regularExpression within this string with the given replacement. | ||
Split(string)Splits this string using the supplied regularExpression. | ||
Split(string, int)Splits this string using the supplied regularExpression. | ||
StartsWith(string)Compares the specified string to this string to determine if the specified string is a prefix. | ||
StartsWith(string, int)Compares the specified string to this string, starting at the specified offset, to determine if the specified string is a prefix. | ||
SubSequence(int, int)Documentation for this section has not yet been entered. | ||
SubSequenceFormatted(int, int)Equivalent to String.Substring(int, System.Int32) but needed to implement CharSequence. | ||
Substring(int)Returns a string containing a suffix of this string starting at start. | ||
Substring(int, int)Returns a string containing the given subsequence of this string. | ||
ToCharArray()Returns a new char array containing a copy of the chars in this string. | ||
ToLowerCase()Converts this string to lower case, using the rules of the user's default locale. | ||
ToLowerCase(Java.Util.Locale)Converts this string to lower case, using the rules of locale. | ||
override | ToString()Documentation for this section has not yet been entered. | |
ToUpperCase()Converts this this string to upper case, using the rules of the user's default locale. | ||
ToUpperCase(Java.Util.Locale)Converts this this string to upper case, using the rules of locale. | ||
Trim()Returns a string with no code points <= \\u0020 at the beginning or end. | ||
static | ValueOf(Object)Converts the specified object to its string representation. | |
static | ValueOf(bool)Converts the specified boolean to its string representation. | |
static | ValueOf(char)Returns a new string of just the given char. | |
static | ValueOf(char[])Returns a new string containing the same chars as the given array. | |
static | ValueOf(double)Returns the string representation of the given double. | |
static | ValueOf(int)Returns the string representation of the given int. | |
static | ValueOf(long)Returns the string representation of the given long. | |
static | ValueOf(float)Returns the string representation of the given float. | |
static | ValueOf(char[], int, int)Returns a new string containing the same chars as the given subset of the given array. |