Check if a string has 2 characters next to each other
This question already has an answer here:
你不能这样做吗?
the_string = "SS in a dark room"
print "SS" in the_string
## True
链接地址: http://www.djcxy.com/p/9380.html
下一篇: 检查一个字符串是否有2个字符相邻