How to remove | from a text and create an array

Hi 

I Am having value as "USA|UK|Canada" like this but i want to remove the "|" from the text and create a array as {USA,UK,Canada}  so that i can write data into DB as each entry.

Can someone help here

  Discussion posts and replies are publicly visible

Top Replies

Parents Reply Children
No Data