Phrase reversals: Difference between revisions
Added Arturo implementation
m (→{{header|Phix}}: changed to match output of other entries, syntax coloured) |
Drkameleon (talk | contribs) (Added Arturo implementation) |
||
Line 375:
attesor edoc esarhp lasrever
reversal phrase code rosetta"</lang>
=={{header|Arturo}}==
<lang rebol>phr: "rosetta code phrase reversal"
print ["(0)" phr]
print ["(1)" reverse phr]
print ["(2)" join.with:" " map split.words phr => reverse]
print ["(3)" join.with:" " reverse split.words phr]</lang>
{{out}}
<pre>(0) rosetta code phrase reversal
(1) lasrever esarhp edoc attesor
(2) attesor edoc esarhp lasrever
(3) reversal phrase code rosetta</pre>
=={{header|AutoHotkey}}==
|