Java.Lang.String.RegionMatches Method
Returns true if the given subsequence of the given string matches this string starting at the given offset.

Syntax

[Android.Runtime.Register("regionMatches", "(ILjava/lang/String;II)Z", "")]
public bool RegionMatches (int thisStart, string string, int start, int length)

Parameters

thisStart
the start offset in this string.
string
the other string.
start
the start offset in string.
length
the number of chars to compare.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif string is null.

Remarks

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

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1