📜  在字符串python代码示例中查找字符串

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

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

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