Hi
does anyone know how to ouput "I love scripting" to "scripting love I"
without using reverse() function in perl?
Thanks
Hi
does anyone know how to ouput "I love scripting" to "scripting love I"
without using reverse() function in perl?
Thanks
thats quite simple
split
store in array
reverse the order of display nth element to 1st element in an array
Why? Do you have other arbitrary restrictions up your sleeve? Is this a school assignment?
Have a look at the JAPH collection, you should find plenty of variiations on a similar theme there.