Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if character in string python

txt = "foobar"
print("foo" in txt)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #character #string #python
ADD COMMENT
Topic
Name
6+3 =