Tag Archives: php string to array

Convert a string to an array using str_split PHP function.

Hey Folks, In PHP, You can convert a string to an array using str_split function. Syntax: Example: Return Values: If the optional split_length parameter is specified, the returned array will be broken down into pieces with each being split_length in length, otherwise each piece will be one character in length. FALSE is returned if split_length […]