note 90200 added to function.mb-substr

From: Date: Thu, 09 Apr 2009 17:54:05 +0000
Subject: note 90200 added to function.mb-substr
Groups: php.notes 
Request: Send a blank email to php-notes+get-153028@lists.php.net to get a copy of this message
dziamid, thanks for your routine. However, when finished, $result does not contain the entire original $data, it only contains $data up to the last occurrence of $query. Just before returning $result, add $result .= $data and voila! ---- Server IP: 64.71.164.2 Probable Submitter: 24.234.128.187 ---- Manual Page -- http://www.php.net/manual/en/function.mb-substr.php Edit -- https://master.php.net/note/edit/90200 Del: integrated -- https://master.php.net/note/delete/90200/integrated Del: useless -- https://master.php.net/note/delete/90200/useless Del: bad code -- https://master.php.net/note/delete/90200/bad+code Del: spam -- https://master.php.net/note/delete/90200/spam Del: non-english -- https://master.php.net/note/delete/90200/non-english Del: in docs -- https://master.php.net/note/delete/90200/in+docs Del: other reasons-- https://master.php.net/note/delete/90200 Reject -- https://master.php.net/note/reject/90200 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#153028) next »