in reply to Re^6: How do I reverse the order of the first and last word of a string?
in thread How do I reverse the order of the first and last word of a string?
($a, $b) = ($b, $a) ;
But I guess you already knew that!b = b + a ; a = b - a ; b = b - a ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: How do I reverse the order of the first and last word of a string?
by blazar (Canon) on Mar 11, 2007 at 12:14 UTC |