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 Odpowiedź
+ 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