Re: substring problems

2003-03-19 Thread tao wang
thanks a lot. - tao --- "John W. Krahn" <[EMAIL PROTECTED]> wrote: > Tao Wang wrote: > > > > thanks a lot. But there is one problem - this is > my > > fault. The KEY1, KEY2 don't exactly look like > this. > > There are six KEYS. Three are related to KEYS, but > the > > rest of them are A_BEG A

Re: substring problems

2003-03-19 Thread Rob Dixon
Tao Wang wrote: > thanks a lot. But there is one problem - this is my > fault. The KEY1, KEY2 don't exactly look like this. > There are six KEYS. Three are related to KEYS, but the > rest of them are A_BEG A_END, B_OPTIONS, and I need to > extract information between them. I used one variable > $o

Re: substring problems

2003-03-19 Thread tao wang
no special order. thanks. - tao --- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote: > > > tao wang wrote: > > thanks a lot. But there is one problem - this is > my > > fault. The KEY1, KEY2 don't exactly look like > this. > > There are six KEYS. Three are related to KEYS, but > the > > rest of

Re: substring problems

2003-03-19 Thread Wiggins d'Anconia
tao wang wrote: thanks a lot. But there is one problem - this is my fault. The KEY1, KEY2 don't exactly look like this. There are six KEYS. Three are related to KEYS, but the rest of them are A_BEG A_END, B_OPTIONS, and I need to extract information between them. I used one variable $op=KEY1|

Re: substring problems

2003-03-19 Thread John W. Krahn
Tao Wang wrote: > > thanks a lot. But there is one problem - this is my > fault. The KEY1, KEY2 don't exactly look like this. > There are six KEYS. Three are related to KEYS, but the > rest of them are A_BEG A_END, B_OPTIONS, and I need to > extract information between them. I used one variable >

Re: substring problems

2003-03-19 Thread tao wang
thanks a lot. But there is one problem - this is my fault. The KEY1, KEY2 don't exactly look like this. There are six KEYS. Three are related to KEYS, but the rest of them are A_BEG A_END, B_OPTIONS, and I need to extract information between them. I used one variable $op=KEY1|KEY2|KEY3|A_BEG|A_

Re: substring problems

2003-03-18 Thread John W. Krahn
Tao Wang wrote: > > Hi Everyone, Hello, > I'm having a problem with extracting certain strings > within a line. I tried several ways, but not very > inefficient. Can somebody help me with it? thanks a > lot. > > The line might be one of the following: > KEY1 3 4 T KEY2 > > KEY1 3

Re: substring problems

2003-03-18 Thread Wiggins d'Anconia
tao wang wrote: Hi Everyone, I'm having a problem with extracting certain strings within a line. I tried several ways, but not very inefficient. Can somebody help me with it? thanks a lot. The line might be one of the following: KEY1 3 4 T KEY2 KEY1 3 4 T KEY2 456 67 KEY3 K

Re: substring problems

2003-03-18 Thread Rob Dixon
Tao Wang wrote: > Hi Everyone, > > I'm having a problem with extracting certain strings > within a line. I tried several ways, but not very > inefficient. Can somebody help me with it? thanks a > lot. > > The line might be one of the following: > KEY1 3 4 T KEY2 > > KEY1 3 4 T KEY2 45