Hi,
I found it on DevShed, if anyone else is interested the code is
$your_string = str_replace(" ","",$your_string);
Regards
Ade
<< Hi,
Does anyone know of the code to remove all whitespace from a string.
E.G if input is 'Hello I was here'
I want it to come out as 'HelloIwashere'
I`m searching the manual as I type this but can`t find anything.
TIA
Ade >>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]