How to wrap double quotes around a string of variable length

How to wrap double quotes around a string of variable length
0

#1

Hi, I have a form where a user inputs words into a text box, the number of words can range from 1 to 100, these words are separated by a comma followed by a space, just, like, this, however, these are placed into a variable which is then stringify’d but it comes out as: [“cat1, cat2, cat3”] as opposed to [“cat1”, “cat2”, “cat3”], So i need it to wrap double quotes around however many words that are entered where the stringify’d result would be [“cat1”] or [“cat1”, “cat2”, “cat3”] or [“cat1”, “cat2”, “cat3”, “cat4”, “cat5”] or however many words they type,

I hope i have explained my question adequately, thank you


https://pirateproxy.xyz/ https://techranc.com/eztv-proxy-sites/


#2

Take the input and split on spaces - myInput.split(/s+/)


#3

Thanks for replying, i will surely try this.


https://iapkdownload.com/appvn-apk/ https://kodipair.com/iptv-kodi-best-addons/