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: [url]www.amazon.com/o/registry/3BEXC84AB3A5E/[/url]

PHP|Architect: A magazine for PHP Professionals – [url]www.phparch.com[/url]