RosettaCodeData/Task/Reverse-a-string/Pluto/reverse-a-string.pluto

11 lines
324 B
Plaintext

require "uchar"
require "gchar"
for {"asdf", "josé", "møøse", "was it a car or a cat I saw", "😀🚂🦊"} as word do
print(uchar.of(word):reverse())
end
for {"as⃝df̅", "ℵΑΩ 駱駝道 🤔 🇸🇧 🇺🇸 🇬🇧‍ 👨‍👩‍👧‍👦🆗🗺"} as word do
print(gchar.of(word):reverse())
end