📌  相关文章
📜  检查字符串是否包含子字符串 python 代码示例

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

代码示例5
>>> string = "Hello World"
>>> # Check Sub-String in String
>>> "World" in string
True
>>> # Check Sub-String not in String
>>> "World" not in string
False