how to get whole string in different variables?
I have single string which contain 5 names and there is a space between every single name,now i want to get these five names in to different ,different string
for ex i have string like below
String name= ABC DEF GHI JKL MNO;
and i wan to get these string like below(removing space)
Example in PHP:
$strings = explode(" ", $name);