Jason Williard wrote:
In parsing a file, I ended up with a number of variables that include
spaces.  Is there an easy way to remove a space from a variable?

$new_string = str_replace(' ','',$old_string);


?

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals – www.phparch.com





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



Reply via email to