I have the following string:
$str = "maryland, virginia, atlanta, new york";
I want to have an array containing each of the coma separated variables as follows:
$strArr[0] = "maryland";
$strArr[1] = "virginia";
$strArr[2] = "atlanta";
$strArr[3] = "atlanta";
$strArr[4] = "new york";
I know this is relatively simple string manipulation, but i just cant figure it out. How can i do this?