in reply to Five Ways to Reverse a String of Words (C#, Perl 5, Perl 6, Ruby, Haskell)
{ for (i=NF ; i > 0 ; i--) { printf "%s ", $i } }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Five Ways to Reverse a String of Words (C#, Perl 5, Perl 6, Ruby, Haskell)
by eyepopslikeamosquito (Archbishop) on Dec 21, 2006 at 02:17 UTC |