Android Guides | Samples

Java.Lang.String.Contains Method

Returns true if this string contains the charss from the given CharSequence.

Syntax

[Android.Runtime.Register("contains", "(Ljava/lang/CharSequence;)Z", "")]
public Boolean Contains (ICharSequence cs)

Parameters

cs
the character sequence to search for.

Remarks

Returns true if this string contains the charss from the given CharSequence.

[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