Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 17587

How to covert String into array in React Native

$
0
0

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"

Viewing all articles
Browse latest Browse all 17587

Latest Images

Trending Articles



Latest Images