Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python string does not contain

str = '£35,000 per year'
# check for '£' character in the string
'£' not in str
# >> False
'£' in str
# >> True 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #string
ADD COMMENT
Topic
Name
2+2 =