Reference.StringEquals History

Hide minor edits - Show changes to markup

August 18, 2010, at 11:05 PM by David A. Mellis -
Changed lines 6-7 from:

Compares two strings for equality. The comparison is case-sensitive, meaning the String("hello") is not equal to the String("HELLO").

to:

Compares two strings for equality. The comparison is case-sensitive, meaning the String "hello" is not equal to the String "HELLO".

August 13, 2010, at 11:48 PM by David A. Mellis -
Changed lines 1-2 from:
to:
August 08, 2010, at 07:44 PM by David A. Mellis -
Added lines 1-23:

String

equals()

Description

Compares two strings for equality. The comparison is case-sensitive, meaning the String("hello") is not equal to the String("HELLO").

Syntax

string.equals(string2)

Parameters

string, string2: variables of type String

Returns

true: if string equals string2
false: otherwise

Example

See also

Share