jquery convert a string to an array
var numbersString = "1,2,3,4,5,6";
var numbersArray = numbersString.split(',');
jquery convert a string to an array
var numbersString = "1,2,3,4,5,6";
var numbersArray = numbersString.split(',');
javascript explode
//split into array of strings.
var str = "Well, how, are , we , doing, today";
var res = str.split(",");
string split javascript
var myString = "An,array,in,a,string,separated,by,a,comma";
var myArray = myString.split(",");
/*
*
* myArray :
* ['An', 'array', 'in', 'a', 'string', 'separated', 'by', 'a', 'comma']
*
*/
js string to array
var myString = 'no,u';
var MyArray = myString.split(',');//splits the text up in chunks
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us