Reverse words in a string: Difference between revisions

→‎Insitux: implementation
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
(→‎Insitux: implementation)
Line 1,714:
->
</pre>
 
=={{header|Insitux}}==
<syntaxhighlight lang="insitux">(var poem
"---------- 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 -----------------------")
 
(function split-join by then x
(-> x (split by) then (join by)))
 
(split-join "\n" (map @(split-join " " reverse)) poem)</syntaxhighlight>
 
=={{header|J}}==
112

edits