note 92260 added to function.mb-strstr

From: Date: Thu, 16 Jul 2009 16:49:45 +0000
Subject: note 92260 added to function.mb-strstr
Groups: php.notes 
Request: Send a blank email to php-notes+get-158372@lists.php.net to get a copy of this message
To clarify, if $part is true, the string returned is from index zero up to, but not including, the first character of the matched substring. <?php echo mb_strstr('abCDef','CD', true); // prints 'ab' ?> ---- Server IP: 64.71.164.2 Probable Submitter: 67.228.235.3 ---- Manual Page -- http://www.php.net/manual/en/function.mb-strstr.php Edit -- https://master.php.net/note/edit/92260 Del: integrated -- https://master.php.net/note/delete/92260/integrated Del: useless -- https://master.php.net/note/delete/92260/useless Del: bad code -- https://master.php.net/note/delete/92260/bad+code Del: spam -- https://master.php.net/note/delete/92260/spam Del: non-english -- https://master.php.net/note/delete/92260/non-english Del: in docs -- https://master.php.net/note/delete/92260/in+docs Del: other reasons-- https://master.php.net/note/delete/92260 Reject -- https://master.php.net/note/reject/92260 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#158372) next »