Re: [PHP] Removing Whitespace

2001-02-17 Thread Website4S
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'

Re: [PHP] Removing Whitespace

2001-02-17 Thread Christian Reiniger
On Saturday 17 February 2001 14:52, [EMAIL PROTECTED] wrote: I found it on DevShed, if anyone else is interested the code is $your_string = str_replace(" ","",$your_string); That only eliminates "space" characters and leaves tabs, newline etc untouched. Try $your_string =