Convert String Array To Array Php Code Example


Example 1: string to array in php


print_r(explode(',',$yourstring));

Example 2: string to array php


str_split ( string $string [, int $split_length = 1 ] ) : array

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android SDK Location Should Not Contain Whitespace, As This Cause Problems With NDK Tools