Reference

Class

RiString

Name

equals

Description Compares this RiString to the specified object.
The result is true if and only if the argument is not null and is a String or RiString object that represents the same sequence of characters as this object.
Syntax
equals(string);
equals(ristring);
Parameters
String OR ObjectString or RiString object to compare this RiString against
Returns
booleantrue if equal, otherwise false
Example
rs = new RiString("The dog was white"); 
rs.equals("The dog was white"); // returns true
Platform Java / Javascript