note 7008 modified in trim by ronabop

From: Date: Fri, 11 Aug 2000 18:37:44 +0000
Subject: note 7008 modified in trim by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-1404@lists.php.net to get a copy of this message
If you are trying to take out whitespace from the middle of a string, you need to use a different function, str_replace: <PRE>str_replace(" ", "", "United Kingdom);</PRE> http://www.php.net/manual/function.trim.php

« previous php.notes (#1404) next »