String.RegionMatches String.RegionMatches Method

Definition

Overloads

RegionMatches(Boolean, Int32, String, Int32, Int32) RegionMatches(Boolean, Int32, String, Int32, Int32)

Returns true if the given subsequence of the given string matches this string starting at the given offset.

RegionMatches(Int32, String, Int32, Int32) RegionMatches(Int32, String, Int32, Int32)

Returns true if the given subsequence of the given string matches this string starting at the given offset.

RegionMatches(Boolean, Int32, String, Int32, Int32) RegionMatches(Boolean, Int32, String, Int32, Int32)

Returns true if the given subsequence of the given string matches this string starting at the given offset.

[Android.Runtime.Register("regionMatches", "(ZILjava/lang/String;II)Z", "")]
public bool RegionMatches (bool ignoreCase, int toffset, string other, int ooffset, int len);
member this.RegionMatches : bool * int * string * int * int -> bool

Parameters

ignoreCase
Boolean Boolean

specifies if case should be ignored (use Collator instead for non-ASCII case insensitivity).

toffset
Int32 Int32
other
String String
ooffset
Int32 Int32
len
Int32 Int32

Returns

Exceptions

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RegionMatches(Int32, String, Int32, Int32) RegionMatches(Int32, String, Int32, Int32)

Returns true if the given subsequence of the given string matches this string starting at the given offset.

[Android.Runtime.Register("regionMatches", "(ILjava/lang/String;II)Z", "")]
public bool RegionMatches (int toffset, string other, int ooffset, int len);
member this.RegionMatches : int * string * int * int -> bool

Parameters

toffset
Int32 Int32
other
String String
ooffset
Int32 Int32
len
Int32 Int32

Returns

Exceptions

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to