+ 9

How to get array from input text?

I want to get the input text of html in the form of array in JavaScript. so please tell me how can I get it.

3rd Jun 2018, 6:46 AM
Ishwar Ramdasi
Ishwar Ramdasi - avatar
2 odpowiedzi
+ 8
thanks Proff
3rd Jun 2018, 12:06 PM
Ishwar Ramdasi
Ishwar Ramdasi - avatar
+ 7
you can convert your string to an array with .split() method. if you use e.g input.value.split("") then it will make an array where every single letter of your text is a different value in array
3rd Jun 2018, 11:15 AM
Proff
Proff - avatar