On 26 April 2010 18:58, Michelle Konzack <linux4miche...@tamay-dogan.net> wrote:
> Hello Pete,
>
> Am 2010-04-26 17:04:32, hacktest Du folgendes herunter:
>> Is it possible that the space is a new-line (or a carriage-return) ?
>
> grmpf!  --  That it was...
>
>>    preg_replace('/\s+$/','',$FILE);
>
> Works now!

Consider a trim, much faster for this thing.

-- 
<hype>
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
Flickr: http://www.flickr.com/photos/fake51
BeWelcome: Fake51
Couchsurfing: Fake51
</hype>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to