note 94387 added to function.str-replace

From: Date: Sun, 01 Nov 2009 16:22:03 +0000
Subject: note 94387 added to function.str-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-162323@lists.php.net to get a copy of this message
Compress a string's internal spaces: <?php $str = ' This is a test '; $count = 1; while($count) $str = str_replace(' ', ' ', $str, $count); ?> ---- Server IP: 208.69.120.35 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/94387 Del: integrated -- https://master.php.net/note/delete/94387/integrated Del: useless -- https://master.php.net/note/delete/94387/useless Del: bad code -- https://master.php.net/note/delete/94387/bad+code Del: spam -- https://master.php.net/note/delete/94387/spam Del: non-english -- https://master.php.net/note/delete/94387/non-english Del: in docs -- https://master.php.net/note/delete/94387/in+docs Del: other reasons-- https://master.php.net/note/delete/94387 Reject -- https://master.php.net/note/reject/94387 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#162323) next »