phpstring split code example
Example 1: how to split sting in php
<?php
list($user, $pass, $uid, $gid, $extra) =
split(":", $passwd_line, 5);
?>
Example 2: character split php
str_split ( string $string [, int $split_length = 1 ] ) : array
<?php
list($user, $pass, $uid, $gid, $extra) =
split(":", $passwd_line, 5);
?>
str_split ( string $string [, int $split_length = 1 ] ) : array