Product Site

5.1.7.41. caselessEquals

Returns .true if the target string is strictly equal to the other string, using a caseless comparison. Returns .false if the two strings are not strictly equal.
Example 5.80. String class — caselessEquals method
"a"~caselessEquals("A")          -->    1
"aa"~caselessEquals("A")         -->    0
"4"~caselessEquals("3")          -->    0