println("Equal"); // They are equal, so this line will print
} else {
println("Not equal"); // This line will not print
}
]]></code>
</example>
<description><![CDATA[
Compares two strings to see if they are the same. This method is necessary because it's not possible to compare strings using the equality operator (==). Returns <b>true</b> if the strings are the same and <b>false</b> if they are not.
]]></description>
<syntax>
<c>str</c>.equals(<c>str</c>)
</syntax>
<parameter>
<label>str</label>
<description><![CDATA[String: any valid String]]></description>