Oops, I forgot to mention that the encoded URL that I need to produce has to be in ASCII as I will be sending it down a socket to a server operating in the ASCII domain. -- bc
On Feb 5, 2008 12:50 PM, Glenn Knickerbocker <[EMAIL PROTECTED]> wrote: > On Tue, 5 Feb 2008 16:08:14 +0100, Rob wrote: > >'callpipe (end \ name BC2.REXX:7)', > > '\ *: ', > > '| insert x15 after', > > '| split before anyof' xxsafe, > > '| split after anyof' xxsafe, > > '| x: if not verify' xxsafe, > > '| spec ,%, 1 1 c2x n', > > '| x:', > > '| deblock linend terminate', > > '| *:' > > Instead of the complication of selecting records and fanning them back > together, my approach is generally to insert a special character so that > all records can be treated the same way: > > 'callpipe *:', > '| insert "%" before', > '| insert x15 after', > '| split before anyof' xxsafe, > '| specs ,%, 1 1 c2x n 2-* n', > '| deblock linend terminate', > '| not chop 3', > '| *:' > > ¬R >
