in reply to Str extract the word between the first and the 2nd '|' character
my $secondWord = ( split m{\s*\|\s*}, $string )[1];
Six of one, half a dozen of the other, really!
Cheers,
JohnGG
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Str extract the word between the first and the 2nd '|' character
by dani_cv (Acolyte) on Apr 11, 2008 at 14:51 UTC |