This is the code:
$arr=explode(", ",$this->maList);
maList returns the entered mails:
"[email protected], [email protected]"
However, I want it to know whether I've used space after the comma or no space. Because if I enter this:
"[email protected],[email protected]"
Then it becomes a single array element.
What can I do in this situation?