equals()

[StringObject Function]

Description

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

Syntax

myString.equals(myString2)

Parameters

myString, myString2: variables of type String.

Returns

true: if string equals string2.
false: otherwise.

See also