Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Unicode > age_unicode
compare/3
Description
compare/3 is an Erlang function exported by "api_age_unicode" module.
Compares two Unicode strings. Returns true when both input strings are equal in accordance with the specified mode for comparison.
References
None
Parameters
Name
Type
Left
string()
Unicode string.
Right
Mode
atom()
Optional. Comparison mode between case_sensitive and case_insensitive.
Defaults to case_sensitive.
Result
Value or Type
boolean()
Returns true when both input strings are equal.