Author:halw

Date:2010-02-27T19:53:07.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@487 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
halw
2010-02-27 20:21:35 +00:00
parent 9fc7ba71ac
commit f3195f8ac1
2 changed files with 9 additions and 34 deletions

View File

@@ -6,42 +6,14 @@
{{underconstruction}}
__NOTOC__
==Problem Description==
==Description==
Reverse the order of the characters in a give string of characters.
==Problem Source==
==Source==
[http://rosettacode.org/wiki/Reverse_a_string Rosetta Code]
==Solution==
<code>
class
APPLICATION
create
make
feature
make
-- Demonstrate string reversal.
do
my_string := "Hello World!"
my_string.mirror
print (my_string)
end
my_string: STRING
-- Used for reversal
end
</code>
==Output==
<code lang="text">
!dlroW olleH
</code>