Contact: aviboots(AT)netvision.net.il
39,902 questions
51,833 answers
573 users
$str = 'php java c c++ rust '; $arr = preg_split('/\s+/', $str); print_r($arr); /* run: Array ( [0] => php [1] => java [2] => c [3] => c++ [4] => rust [5] => ) */