equals

open fun equals(s1: CharSequence, s2: CharSequence): Boolean

Return whether string1 is equals to string2.

Return

{@code true}: yes{@code false}: no

Parameters

s1

The first string.

s2

The second string.