⭐ in reply to How do I get what is to the left of my match?
$_="left center right"; m/(.*)(center)(.*)/; print "$1:$2:$3\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Answer: How do I get what is to the left of my match?
by chipmunk (Parson) on Nov 28, 2000 at 03:29 UTC |