in reply to Rearranging a string

Thanks to all those that made the effort to help.
I posted the question in a bit of a hurry yesterday and consequently it may not have been as clear as I intended - my apologies. Thanks to jeffa for explaining it a bit more precisely.