split in javadscript code example
Example 1: js string to array
var myString = 'no,u';
var MyArray = myString.split(',');//splits the text up in chunks
Example 2: how to split a string in javascript
strName.split(); // My code
var myString = 'no,u';
var MyArray = myString.split(',');//splits the text up in chunks
strName.split(); // My code