Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Five Ways to Reverse a String of Words (C#, Perl 5, Perl 6, Ruby, Haskell)

by parv (Priest)
on Dec 14, 2006 at 01:33 UTC ( #589710=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    say word_reverse( "  one   two three four    " )
    
    ...
        new = word( string , w ) new
      end
      return strip( new , 'T' )
    
  2. or download this
    word_reverse()
    {
    ...
    }
    
    word_reverse "  one   two three four    "
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://589710]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2017-02-22 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (335 votes). Check out past polls.