How to convert String into the array in React Native. for example:-
var myString = 'this, is my, string';
separate string with ","
and output must be
myArray = [this, is my, string]; on myArray[0] value is "this", on myArray[1] value is " is my", on myArray[2] value is " string"