Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

can you look for specific characters in python

yourString = "string"

if "s" in yourString:
  print("There is an S in your string")
  
if "s" not in yourString:
  print("There is no S in your string")
 
PREVIOUS NEXT
Tagged: #specific #characters #python
ADD COMMENT
Topic
Name
8+8 =