UnicodeEQ, UnicodeNE, UnicodeLT, UnicodeLE, UnicodeGE and UnicodeGT (Unicode functions): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 1: | Line 1: | ||
{{Template:Unicode:UnicodeEQ subtitle}} | {{Template:Unicode:UnicodeEQ, UnicodeNE, UnicodeLT, UnicodeLE, UnicodeGE and UnicodeGT subtitle}} | ||
These Unicode comparison methods are useful whenever you need to | |||
do Unicode comparisons and not EBCDIC or ASCII. | |||
==Syntax== | ==Syntax== | ||
{{Template:Unicode:UnicodeEQ syntax}} | {{Template:Unicode:UnicodeEQ syntax}} | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
Line 12: | Line 15: | ||
<td>Unicode</td></tr> | <td>Unicode</td></tr> | ||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
==Examples== | ==Examples== | ||
<p class="code">if %dessert:unicodeEq('Apple &pi;':u) then | |||
... </p> | |||
==See also== | ==See also== | ||
{{Template:Unicode:UnicodeEQ footer}} | {{Template:Unicode:UnicodeEQ footer}} |
Revision as of 20:16, 30 March 2012
Compare unicode strings (Unicode class)
[Introduced in Sirius Mods 7.9]
These Unicode comparison methods are useful whenever you need to
do Unicode comparisons and not EBCDIC or ASCII.
Syntax
%number = unicode:UnicodeEQ( comparand)
Syntax terms
%number | number |
---|---|
unicode | Unicode |
comparand | Unicode |
Usage notes
Examples
if %dessert:unicodeEq('Apple π':u) then ...