
rgkrishnas
Novice
Nov 6, 2007, 8:20 AM
Post #3 of 3
(1217 views)
|
|
Re: [jonny] reverse a string without using reverse fun
[In reply to]
|
Can't Post
|
|
Hi, You could try in this way using regular expression $a = "Hello world"; while($a =~/(.)/g){ $a_r = "$1$a_r"; } print "$a_r\n";
|