You can use the in
operator:
ifnot"blah"in somestring:continue
Or more idiomatically:
if"blah"notin somestring:continue
You can use the in
operator:
ifnot"blah"in somestring:continue
Or more idiomatically:
if"blah"notin somestring:continue