Re: replace a chunk peace of string

From: Date: Mon, 01 Dec 2003 22:06:09 +0000
Subject: Re: replace a chunk peace of string
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-171504@lists.php.net to get a copy of this message
* Thus wrote ada (david_devidal@yahoo.fr): > > What do you mean trim() doesn't work? > > trim is a basic function that remove spaces on the left and the right at the > string : > " abc "->"abc" trim() removes more than spaces, please read: http://php.net/trim What I meant in my original post was how are you using trim() that doesn't make it work? trim() *will* fix your problem. Curt -- If eval() is the answer, you're almost certainly asking the wrong question. -- Rasmus Lerdorf, BDFL of PHP

« previous php.general (#171504) next »