in reply to Re: regex for string
in thread regex for string
what want to get first and last char by regex ? like that m/(.?)..etc/$f = substr($str,0,1) $l=substr($str,-1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: regex for string
by moritz (Cardinal) on Aug 18, 2009 at 09:13 UTC |