Answer the question
In order to leave comments, you need to log in
How to display data in Datatable?
How to display only part of a list of emails in a table? And add all emails to excel downloads?
And is it possible to work with the list so that it is not in a row and without ' , '
Answer the question
In order to leave comments, you need to log in
var arr = '[email protected],[email protected],[email protected],[email protected]';
arr = arr.split(','); //приобразуем в массив
console.log(arr) // вывод массива емейлов :)
//что было не в ряд
for (var i = 0; i < arr.length; i++) {
console.log(arr[i]);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question