On 2016-10-18, at 13:19, Tony Harminc wrote:

> On 18 October 2016 at 02:34,  <robi...@dodo.com.au> wrote:
>> Using TR in a different way omits the commas and decimal point, sign,
>> and any other funny characters.
>> To do this, you swap the roles of the translate table and the string
>> being translated.
> 
> This was the classic way to reverse a string, long before the
> existence of the MVCIN instruction.
>  
That can rearrange characters in a string and even eliminate "funny"
characters, but I believe you need to know a priori where the funny
characters are to omit their positions from the string being translated.

-- gil

Reply via email to