Is this the proper way to use the bool 'or' operator?

Viewed 51
userString[count] == '!' || '.' || '?'

I am trying to say if the left equals ! or .(period) or ?

0 Answers
Related