Hi all

I need to remove the string "room" (notice the check for a space too) and also 
to check for spaces in the beginnig  and then maybe at the end
of the total string.

$p110rm01 =~ s/(\sroom|^\s*|\s*$)//igo;

Would someone be so kind as to check this for me.

Kind Regards
Brent Clark

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to