perl -e 'my $blah = "reagen OR siedl OR smith AND jack"; @names = spli +t /\s+( AND|OR)\s+/, $blah; @split_values = $blah =~ /\s+(AND|OR)\s+/g'
In reply to Re: using split
by smokemachine
in thread using split
by rsiedl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |