$var=~/\s*//g; # ;)
-----Original Message-----
From: Scott Martin [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 3:56 PM
To: Perl Help
Subject: RE: Remove White Space
After I sent it out, I actually came up with the idea myself after some
digging. (go figure) any case, I am now having another problem which,
even after some research still proves difficult. I have a variable
like: file .htm but what I want to do is trim the white space between
file and .htm any ideas?
-Scott
-----Original Message-----
From: Bob Showalter [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 4:45 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Remove White Space
> -----Original Message-----
> From: Scott Martin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 06, 2001 4:13 PM
> To: Perl Help
> Subject: Remove White Space
>
>
> How can I remove white space from the beginning of a variable?
This is a FAQ:
perldoc -q strip
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]