posted 18 years ago
Here's a replace based on REXX syntax. Note how it can be used to rearrange a string. You could use that to swap characters based on position. I bet it would not give correct results on translate AD to DA.
This is very old code with a semi-hungarian prefix naming thing that I outgrew ...
The left() method pads or truncates as necessary to left justify.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi