Thanks for your response. It helps.
i separated using split function, but when i was trying to assign them using array for each variable like $myarray.find(x => x[1]), $myarray.find(x => x[2]), $myarray.find(x => x[3]), $myarray.find(x => x[4]) etc, only the first value of the array is assigned to all the variables. The subsequent values which were splitted/separated by comma are not assigned/showing up.
But i was able to use alternate method using substring and were able to assign. Can i know if i am missing something in array.