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

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 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>