MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » October 2012

Re: Obtaining a value from within a string using CL



fixed

I think you'll need to step through it character by character looking for
delimiters, then extract the value based on the location of the
delimiters. I had to do a ton of that sort of stuff way back when. It's a
royal pain, but it does work. Much easier in a higher level language. If
you're doing a lot of that, check out rexx. I'm pretty sure it can do
that a lot more easily, but I haven't worked with it in 15 years, so I
really can't help you with it.

On Wed, 03 Oct 2012 16:48:56 +0000, Alan Shore wrote:

Hi everyone And before I forget (as I normally do) we are on V5r4.
Within CL, is there a way to obtain a string from the following
examples.

1. /weborders/PP91055370.txt From the above, I am looking for the
value PP91055370





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact