note 92648 added to function.str-replace

From: Date: Sun, 02 Aug 2009 07:23:16 +0000
Subject: note 92648 added to function.str-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-158999@lists.php.net to get a copy of this message
Compress multiple space characters in string. "Hello there" becomes "Hello there" <?php do { $str = str_replace(' ', ' ', $str, $count); } while ($count); ?> ---- Server IP: 64.71.164.2 Probable Submitter: 69.69.21.91 ---- Manual Page -- http://www.php.net/manual/en/function.str-replace.php Edit -- https://master.php.net/note/edit/92648 Del: integrated -- https://master.php.net/note/delete/92648/integrated Del: useless -- https://master.php.net/note/delete/92648/useless Del: bad code -- https://master.php.net/note/delete/92648/bad+code Del: spam -- https://master.php.net/note/delete/92648/spam Del: non-english -- https://master.php.net/note/delete/92648/non-english Del: in docs -- https://master.php.net/note/delete/92648/in+docs Del: other reasons-- https://master.php.net/note/delete/92648 Reject -- https://master.php.net/note/reject/92648 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#158999) next »