divide string in multiple parts php code example
Example 1: explode in php
$str = 'one two three four';
$numbers4 = explode(' ',$str);
Example 2: string to array php
str_split ( string $string [, int $split_length = 1 ] ) : array
$str = 'one two three four';
$numbers4 = explode(' ',$str);
str_split ( string $string [, int $split_length = 1 ] ) : array