Anonymous user
Phrase reversals: Difference between revisions
m
→{{header|Elena}}
m (→version 2: changed a comment.) |
|||
Line 701:
</lang>
=={{header|Elena}}==
ELENA
<lang elena>import extensions
import extensions'text
import system'routines
public program()
{
var reverse :=
var phrase := "rosetta code phrase reversal"
console
//Reverse the string
console
//Reverse each individual word in the string, maintaining original string order.
console
//Reverse the order of each word of the phrase, maintaining the order of characters in each word.
console
{{out}}
<pre>
|