> -----Original Message-----
> From: William Stokes [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 22, 2005 10:49 AM

> How can I remove a space character from variable value.
> 
> for example:
> change
> $name = "John Doe";
> to
> $name = "JohnDoe";
> 
> The blank space needs to be removed from the string.  How?

Did You search? http://dk.php.net/manual-lookup.php?pattern=replace

Str_replace, ereg_replace, preg_replace is just a few friends, that will
help You. Php.net is Your best friend ;-)

--
Med venlig hilsen / best regards
ComX Networks A/S
Kim Madsen
Systemudvikler/systemdeveloper

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

Reply via email to