I have tried using php explode() function but its taking the empty values in to the array.
here is my code
var_dump(explode(',', 'abc,efg,,hij,'));
array(0) {
  [0]=>"abc"
  [1]=> "efg"
  [2]=> ""
  [3]=>"hij"
  [4]=> ""
}
What i expect is
array(0) {
  [0]=>"abc"
  [1]=> "efg"
  [2]=> "hij"
}
 
     
     
     
     
    