Should I include spaces in the special character check? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Should I include spaces in the special character check?

https://code.sololearn.com/WhH3Q09RHeQj/?ref=app Should spaces be included with the special character count? I have a separate counter for them anyway.

27th Aug 2018, 1:26 PM
Daniel Cooper
Daniel Cooper - avatar
1 Answer
+ 4
No, space should belong to whitespace. space " ", tab "\t" and line feed "\n" are all belong to whitespace.
27th Aug 2018, 2:59 PM
Calviղ
Calviղ - avatar