Re: String Functions in MF

From: Richard (riplin_at_Azonic.co.nz)
Date: 09/29/04


Date: 28 Sep 2004 15:14:24 -0700

Alain Reymond <> wrote

> perform varying i from ls-len by -1
> until ((i < 1) or (lnk-texte(i:1) <> " "))
> move x'00' to lnk-texte(i:1)
> end-perform

I tend to use ' until ... > space ' so that any existing nul, tab,
newline etc are also stripped. But I am using ASCII and this would be
different for EBCDIC.