📜  python str 包含单词 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:47.622000             🧑  作者: Mango

代码示例1
fullstring = "StackAbuse"
substring = "tack"

if substring in fullstring:
    print "Found!"
else:
    print "Not found!"