Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: reverse a string in placeby choroba (Cardinal) |
on Mar 24, 2013 at 07:33 UTC ( [id://1025124]=note: print w/replies, xml ) | Need Help?? |
In Perl, a string is not an array of characters as in C. Reversing a string is easy, though: use reverse:
Update: What do you mean by doing it "without using any built-in function"? In your example, are you going to implement floor yourself?
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|