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

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

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