Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if substring not in string python

>>> string = "Hello World"
>>> # Check Sub-String in String
>>> "World" in string
True
>>> # Check Sub-String not in String
>>> "World" not in string
False
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #substring #string #python
ADD COMMENT
Topic
Name
3+6 =