Quote Originally Posted by 2kaud View Post
This also assumes that the max ASCII value of any individual char in the string is 127
The XOR swap (without a temp) doesn't have this limitation,

http://en.wikipedia.org/wiki/XOR_swap_algorithm