note 97690 added to function.str-split

From: Date: Mon, 03 May 2010 13:27:36 +0000
Subject: note 97690 added to function.str-split
Groups: php.notes 
Request: Send a blank email to php-notes+get-168883@lists.php.net to get a copy of this message
here an equivalent function for unicode string : <?php function uni_strsplit($string, $split_length=1) { preg_match_all('.u', $string, $arr); $arr = array_chunk($arr[0], $split_length); $arr = array_map('implode', $arr); return $arr; } ---- Server IP: 89.31.146.176 Probable Submitter: 213.223.113.8 ---- Manual Page -- http://www.php.net/manual/en/function.str-split.php Edit -- https://master.php.net/note/edit/97690 Del: integrated -- https://master.php.net/note/delete/97690/integrated Del: useless -- https://master.php.net/note/delete/97690/useless Del: bad code -- https://master.php.net/note/delete/97690/bad+code Del: spam -- https://master.php.net/note/delete/97690/spam Del: non-english -- https://master.php.net/note/delete/97690/non-english Del: in docs -- https://master.php.net/note/delete/97690/in+docs Del: other reasons-- https://master.php.net/note/delete/97690 Reject -- https://master.php.net/note/reject/97690 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#168883) next »