fn.codepointEqual( comparand1 as String?, comparand2 as String? ) as Boolean?
Returns true
if the specified parameters are the same Unicode
code point, otherwise returns false
. The codepoints are
compared according to the Unicode code point collation
(http://www.w3.org/2005/xpath-functions/collation/codepoint).
If either argument is the empty sequence, the result is the empty sequence.
Parameters | |
---|---|
comparand1 | A string to be compared. |
comparand2 | A string to be compared. |
var cp = fn.stringToCodepoints("123456"); fn.codepointEqual("123456", fn.codepointsToString(cp) ); => true