in reply to reg ex help
updated with tachyon's syntactic sugar from /\s/ to / /.my $line = qq|30 44 02 01 01 04 06 70 75 62 6C 69 63 A7 37 02 0D.....p +ublic.7|; my $fourteenthnumber = (split (/ /, $line))[13]; print $fourteenthnumber;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: reg ex help
by tachyon (Chancellor) on Apr 15, 2004 at 10:19 UTC | |
by Abigail-II (Bishop) on Apr 15, 2004 at 10:43 UTC | |
by tachyon (Chancellor) on Apr 15, 2004 at 11:25 UTC | |
by Abigail-II (Bishop) on Apr 15, 2004 at 11:52 UTC | |
by pelagic (Priest) on Apr 15, 2004 at 12:06 UTC |