1fullstring = "StackAbuse"
2substring = "tack"
3
4if fullstring.find(substring) != -1:
5 print "Found!"
6else:
7 print "Not found!"
8
1str = '£35,000 per year'
2# check for '£' character in the string
3'£' not in str
4# >> False
5'£' in str
6# >> True