Click or drag to resize

IStringJavaObject Methods

The IStringJavaObject type exposes the following members.

Methods
 NameDescription
Public methodCompareToCompares this instance with a specified String object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified string.
Public methodContains(Char)Returns a value indicating whether a specified substring occurs within this string.
Public methodContains(String)Returns a value indicating whether a specified substring occurs within this string.
Public methodEndsWithDetermines whether the end of this string instance matches the specified string.
Public methodEqualsDetermines whether this instance and another specified String object have the same value.
Public methodIndexOf(Char)Reports the zero-based index of the first occurrence of the specified Unicode character in this string.
Public methodIndexOf(String)Reports the zero-based index of the first occurrence of the specified string in this instance.
Public methodIndexOfAnyReports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters.
Public methodLastIndexOf(Char)Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance.
Public methodLastIndexOf(String)Reports the zero-based index position of the last occurrence of a specified string within this instance.
Public methodLastIndexOfAnyReports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array.
Public methodStartsWithDetermines whether the beginning of this string instance matches the specified string.
Top
See Also