Android Guides | Samples

Java.Lang.String.EqualsIgnoreCase Method

Compares the given string to this string ignoring case.

Syntax

[Android.Runtime.Register("equalsIgnoreCase", "(Ljava/lang/String;)Z", "")]
public Boolean EqualsIgnoreCase (String string)

Parameters

string
the string to compare.

Remarks

Compares the given string to this string ignoring case.

The strings are compared one char at a time. This is not suitable for case-insensitive string comparison for all locales. Use a Collator instead.

[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