Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2015-07-29 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls