Compare length of two strings: Difference between revisions
→{{header|EMal}}
Line 1,227:
=={{header|EMal}}==
<syntaxhighlight lang="emal">
List list = text["abcd","123456789","abcdef","1234567
^|this solves the task doing the comparison by using the diamond operator|^
fun comparator = int by text a, text b do return b.length <> a.length end
Line 1,242:
<pre>
text chars bytes
Привет, мир 11 20
123456789 9 9
|