[plug] perl question

Mark O'Shea mark at musicalstoat.co.uk
Thu Sep 23 12:04:38 WST 2004


On Thu, September 23, 2004 11:51 am, Patrick Tehvand said:
> Quick one, Can someone tell me if there is a function to strip the first
> character off a variable?
>
> sort of like chop except at the other end?
>
Yes,

$variable = substr ($variable, 1);

There are probably more ways.

-- 
Mark O'Shea




More information about the plug mailing list