Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if character in string python

txt = "foobar"
print("foo" in txt)
 
PREVIOUS NEXT
Tagged: #check #character #string #python
ADD COMMENT
Topic
Name
6+2 =