in reply to Re: Removing the first character from a variable
in thread Removing the first character from a variable
I was thinking to chop off the first character...
$id=~s/^(.)//;
and if you want to save it afterwards...
$chopped_character = $1;
NB: Regexps are not my strongest point, so post a reply if I am talking crap, preferably with an explanation of why!
"Violence is the first resort of those faced with yet another BSOD."
--/me
|
|---|