in reply to substring exists at particular postion?
while(<IN>) { if(substr($_, 259, 1) eq "B") { print B $_; } else if (substr($_, 259, 1) eq "T") { print T $_; } else if () { # and so on for at least 10 lines!... } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: substring exists at particular postion?
by Joost (Canon) on May 23, 2002 at 10:15 UTC | |
|
Re^2: substring exists at particular postion?
by particle (Vicar) on May 23, 2002 at 12:04 UTC | |
|
Re: Re: substring exists at particular postion?
by jmcnamara (Monsignor) on May 23, 2002 at 10:19 UTC |