Yes. Here's the method I ended up using. Provide by a member on another list.

...
'|pick 2.2 >= /0/ & 2.2 <=/24/',
...

-----Original Message-----
From: CMSTSO Pipelines Discussion List [mailto:[email protected]] On 
Behalf Of Shimon Lebowitz
Sent: Wednesday, October 30, 2013 4:32 PM
To: [email protected]
Subject: Re: pipe question

Wouldn't that be:

....
"| PICK 2-3 >>= /00/ ",
"| PICK 2-3 <<= /24/ ",
"| ...

Shimon



On Wed, Oct 30, 2013 at 7:55 PM, Gentry, Steve < 
[email protected]> wrote:

> I have an input stream with various types of data.  I want to select 
> off those records that have  00 thru  24  starting in position 2 and 
> pass those records onto the next stage.
>
>
>
> They are time stamps in the format  hh:mm:ss Can anyone provide a 
> snippet of code to do this?  I can think of a couple of brute force 
> ways to do it, but I was hoping for something elegant.
>
>
>
> Thanks,
>
>
>
> Steve
>

Reply via email to