11-18-2022, 05:45 AM
(This post was last modified: 11-18-2022, 05:45 AM by PhilOfPerth.)
Thanks all, but simplicity is my middle name, and I still think the method I proposed in post #6 is the simplest, even though it uses 2 new variables.
Interesting though that none of the suggestions used the SWAP function. Seems it has limited use, at least where string elements are concerned.
Interesting though that none of the suggestions used the SWAP function. Seems it has limited use, at least where string elements are concerned.
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)
Please visit my Website at: http://oldendayskids.blogspot.com/
Please visit my Website at: http://oldendayskids.blogspot.com/