Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if a string contains a word python

if word in mystring: 
   print('success')
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #check #string #word #python
ADD COMMENT
Topic
Name
1+6 =