+ 1

How do I differentiate different words in a prompt?

Help please đŸ˜¶

28th Dec 2017, 7:27 PM
Clarke
Clarke  - avatar
2 RĂ©ponses
+ 2
what do you mean by different words,words are separated by spacing
28th Dec 2017, 8:41 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 2
For instance: We have a prompt and the user inputs "hello world" How do I make a two variables which are each a word in the prompt For example var a=hello var b=world
28th Dec 2017, 8:52 PM
Clarke
Clarke  - avatar