Compare length of two strings: Difference between revisions
→{{header|BQN}}
(add bqn) |
|||
Line 113:
=={{header|BQN}}==
BQN's grade functions(similar to APL) produces the indices to sort an array. We grade the lengths, then use those to arrage the strings
<lang bqn>Compare ← >·(⍒⊑¨)⊸⊏≠⊸⋈¨
|