Re: String Functions in MF
From: Richard (riplin_at_Azonic.co.nz)
Date: 09/29/04
- Next message: Stephen Gennard: "Re: String Functions in MF"
- Previous message: Rick Smith: "Re: String Functions in MF"
- In reply to: Alain Reymond: "Re: String Functions in MF"
- Next in thread: Stephen Gennard: "Re: String Functions in MF"
- Reply: Stephen Gennard: "Re: String Functions in MF"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Stephen Gennard: "Re: String Functions in MF"
- Previous message: Rick Smith: "Re: String Functions in MF"
- In reply to: Alain Reymond: "Re: String Functions in MF"
- Next in thread: Stephen Gennard: "Re: String Functions in MF"
- Reply: Stephen Gennard: "Re: String Functions in MF"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]