Compare length of two strings: Difference between revisions
Content added Content deleted
m (→{{header|J}}) |
(APL2 example) |
||
Line 36: | Line 36: | ||
"short" has length: 5 bytes. |
"short" has length: 5 bytes. |
||
</pre> |
</pre> |
||
=={{header|APL}}== |
|||
<lang 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] |
|||
⍉(⍴¨sv[⍒sv]),[0.5]sv[⍒sv] |
|||
6 hijklm |
|||
4 defg |
|||
4 abcd |
|||
3 abc |
|||
</lang> |
|||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |