Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python certain charaacter in string

if __name__ == '__main__':
 
    s = "techiedelight.com"
    ch = '.'
 
    if ch in s:
        print("Character found")
    else:
        print("Character not found")
Source by www.afternerd.com #
 
PREVIOUS NEXT
Tagged: #python #charaacter #string
ADD COMMENT
Topic
Name
2+3 =