This is a discussion on string reversal within the alt.comp.lang.php forums, part of the PHP Programming Forums category; sorry to post these trivial questions, but i'm a newbie and find the php manual hard to use. is ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
sorry to post these trivial questions, but i'm a newbie and find the php
manual hard to use. is there any command in php that will reverse the order of a string? so if we had the string "iort6" then this reversal operation would return "6troi". thanks |
|
|||
|
"Jeremy Watts" <jeremy.watts70@ntlworld.com> wrote:
> is there any command in php that will reverse the order of a string? > so if we had the string "iort6" then this reversal operation would > return "6troi". strrev(): http://uk.php.net/manual/en/function.strrev.php HTH; JOn |
|
|||
|
"Jeremy Watts" <jeremy.watts70@ntlworld.com> wrote in message news:q9Nhc.36$UJ3.26@newsfe2-gui.server.ntli.net... > sorry to post these trivial questions, but i'm a newbie and find the php > manual hard to use. > > is there any command in php that will reverse the order of a string? so if > we had the string "iort6" then this reversal operation would return > "6troi". > > thanks > > Learn about: strlen substr while loops Should be able to do it with these RG |
|
|||
|
Jeremy Watts wrote:
> sorry to post these trivial questions, but i'm a newbie and find the > php manual hard to use. Hard to find a function? http://it2.php.net/manual/en/function.strrev.php Move your ass come on.. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|