PDA

View Full Version : spaces



d-machine
06-19-2010, 03:09 PM
Hi,

How can I convert any two spaces in a string into   ?

djr33
06-19-2010, 05:10 PM
$string = str_replace(' ',' ',$string);