Anagrams: Difference between revisions
Content added Content deleted
(→{{header|BQN}}: Remove "works in", as it runs in all implementations) |
m (→{{header|Lua}}) |
||
Line 4,333: | Line 4,333: | ||
local bytes = {word:byte(1, -1)} |
local bytes = {word:byte(1, -1)} |
||
table.sort(bytes) |
table.sort(bytes) |
||
return string.char(unpack(bytes)) |
return string.char(table.unpack(bytes)) |
||
end |
end |
||