0

Hello everyone, I need your help

how do i make user input accept 1.both uppercase and lower case e.g Hello and hello must be the same 2. accept spaces e.g if i input hello-space-world it writes helloworld it doesn't separate the words

26th Oct 2017, 11:10 AM
Lucas Tivana
Lucas Tivana - avatar
4 odpowiedzi
+ 1
You can convert input to lowercase to compare. About spaces you can delete them next to input too
26th Oct 2017, 12:25 PM
Daniel
Daniel - avatar
+ 1
Try to check lessons and research to do your own code. Next, if you have some issue, please, ask
26th Oct 2017, 1:59 PM
Daniel
Daniel - avatar
+ 1
okay thanks
26th Oct 2017, 2:23 PM
Lucas Tivana
Lucas Tivana - avatar
0
thanks, can you please give me the code to delete spaces and convert to lower case
26th Oct 2017, 1:25 PM
Lucas Tivana
Lucas Tivana - avatar