Bill Stennett wrote:
> I need to remove spaces from user input at the start and end 
> of the string.

RTFM. perldoc -q space gives two hits, one of them from perlfaq4: How do I
strip blank space from the beginning/end of a string?

Executive summary: use ^\s+ and \s+$ to replace blank space with nothing.
Use two separate regular expressions (for start and end).

Cheers,
Philip

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to