Say we have a string
"SS in a dark room" True I want to check if this string contains 2 or more 'S' characters next to each other, so here it would be True but in this string it would be False:
"ss in a dark room" False Here it would be False:
"S in a dark room" False and here it would be True
"SSS in me" True