Voting

: eight plus zero?
(Example: nine)

The Note You're Voting On

gunkan at terra dot es
13 years ago
To split an string like this: "日、に、本、ほん、語、ご" using the "、" delimiter i used:

$v = mb_split('、',"日、に、本、ほん、語、ご");

but didn't work.

The solution was to set this before:

mb_regex_encoding('UTF-8');
mb_internal_encoding("UTF-8");
$v = mb_split('、',"日、に、本、ほん、語、ご");

and now it's working:

Array
(
[0] => 日
[1] => に
[2] => 本
[3] => ほん
[4] => 語
[5] => ご
)

<< Back to user notes page

To Top