I have a string which can be
$string = \"value.\";
OR
$string = \"value1, value2.\";
I want to iterate th
You should not do 2 and 4. If there is no comma then it will split to an array of one element.