Michel Lambert wrote:
> 1) What's the fastest way to strip trailing whitespace ( as
> defined by /\s/ ) from a decent-sized string? Decent-sized
> means this email, or 100 of these emails concatenated together.
I would imagine
$string =~ /\s+\z/;
?
Cheers,
Philip
--
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.
- Fun with Regexes Michel Lambert
- Re: Fun with Regexes Jas Nagra
- Re: Fun with Regexes Jeff 'japhy/Marillion' Pinyan
- Re: Fun with Regexes Jeff 'japhy/Marillion' Pinyan
- Re: Fun with Regexes Ilmari Karonen
- Re: Fun with Regexes Newton, Philip
- Re: Fun with Regexes Craig S. Cottingham
- Re: Fun with Regexes Craig S. Cottingham
- Re: Fun with Regexes Jeff 'japhy/Marillion' Pinyan
- Re: Fun with Regexes Ilmari Karonen
