In JS se desideri dividere l'utente in un array qual è il modo migliore per farlo? Ad esempio: entry = prompt("Enter your name")
for (i=0; i<entry.length; i++)
{
entryArray[i] = entry.charAt([i]);
Ho una bella stringa CamelCase come ImageWideNice o ImageNarrowUgly. Ora voglio rompere quella stringa nelle sottostringhe, ad esempio Image, Wide o Narrow e Nice o Ugly. ho pensato che questo potrebb