Re: [PHP] Fill strings with  

2004-03-22 Thread Firman Wandayandi
$str = str_replace(' ', ' ', $str); $str = preg_replace('/\s+/', ' ', $str); $str = ereg_replace('[[:space:]]+', ' ', $str); Good Luck, Firman - Original Message - From: "Merlin" <[EMAIL PROTECTED]> To:

RE: [PHP] Fill strings with  

2004-03-22 Thread Dave G
> I was searching for a php function which fills empty spaces in string > varibales with " ", but could not find one. Wouldn't str_replace do it? http://jp2.php.net/str_replace -- Yoroshiku! Dave G [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Fill strings with  

2004-03-22 Thread Red Wingate
Hi Merlin, guess there is no php function which handles this, but you can easily use str_replace to do this. http://php.net/str_replace -- red Am Montag, 22. März 2004 13:02 schrieb Merlin: > Hi there, > > I was searching for a php function which fills empty spaces in string > varibales with

[PHP] Fill strings with  

2004-03-22 Thread Merlin
Hi there, I was searching for a php function which fills empty spaces in string varibales with " ", but could not find one. Is there such thing? Thanx for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php