Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
.reverse
a guest
Jun 14th, 2012
201
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Ruby
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
my_reverse s
reversed =
""
original = s
while
(
reversed
[
i
]
<
original
[
i
]
)
original.
length
-
1
until
== s
[
0
]
end
end
end
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
MAKE $900 INSTANTLY O
JavaScript | 7 sec ago | 0.07 KB
Make 3500$ in 1 day [Method]???? XH
Java | 24 sec ago | 0.07 KB
$200 INSTANTLY [Works Worldwide]? ZA
Java | 1 min ago | 0.07 KB
Custodes R1
PHP | 1 min ago | 2.07 KB
Make $3500 INSTANTLY [Works Worldwide]???? HL
Java | 2 min ago | 0.07 KB
SW R 1
PHP | 2 min ago | 2.54 KB
5OO$ GIFTCARDS? O
JavaScript | 3 min ago | 0.07 KB
✅ MAKE $12OO IN 10 MIN Q
JavaScript | 6 min ago | 0.07 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!