Anonymous user
Phrase reversals: Difference between revisions
m
→{{header|Elena}}
(Applesoft BASIC) |
imported>Arakov |
||
Line 901:
=={{header|Elena}}==
ELENA
<syntaxhighlight lang="elena">import extensions;
import extensions'text;
Line 916:
console.printLine(reverse(phrase));
//Reverse each individual word in the string, maintaining original string order.
console.printLine(phrase.splitBy
//Reverse the order of each word of the phrase, maintaining the order of characters in each word.
console.printLine(reverse(phrase.splitBy
}</syntaxhighlight>
{{out}}
|