<?php $str = "this is a string with lots of spaces ."; while(strpos($str, " ") !== false) $str = str_replace(" ", " ", $str); echo $str;
You have javascript disabled. You will not be able to edit any code.