Compare length of two strings: Difference between revisions

(APL2 example)
Line 38:
 
=={{header|APL}}==
For a good intro to APL, by the way, see [https://archive.org/details/apl-2-at-a-glance-brown-pakin-polivka/mode/2up APL2 At A Glance]
<lang APL>
sv ← 'defg' 'hijklm' 'abc' 'abcd'
For a good intro to APL, by the way, see [https://archive.org/details/apl-2-at-a-glance-brown-pakin-polivka/mode/2up APL2 At A Glance]
⍉(⍴¨sv[⍒sv]),[0.5]sv[⍒sv]
6 hijklm
67

edits