RosettaCodeData/Task/Reverse-words-in-a-string/Pluto/reverse-words-in-a-string.pluto
2025-08-11 18:05:26 -07:00

16 lines
543 B
Text

local lines = {
"---------- Ice and Fire ------------",
" ",
"fire, in end will world the say Some",
"ice. in say Some ",
"desire of tasted I've what From ",
"fire. favor who those with hold I ",
" ",
"... elided paragraph last ... ",
" ",
"Frost Robert -----------------------"
}
for lines as line do
print(line:strip(" "):split(" "):reverse():concat(" "))
end