php code to separate a tring into 2 strings code example
Example 1: explode in php
$str = 'one two three four';
$numbers4 = explode(' ',$str);
Example 2: how to split sting in php
<?php
list($user, $pass, $uid, $gid, $extra) =
split(":", $passwd_line, 5);
?>