Microsoft SDK for Java

Utils.stringsEqualIgnoreCase

Compares two strings for case-insensitive equality.

Syntax

public static boolean stringsEqualIgnoreCase( String left, String right )

Parameters

left

The left string to compare.

right

The right string to compare.

Return Value

Returns true if the strings are equal; otherwise, returns false. If either string is null, this method returns false.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.