Python에서 string.contains 또는 메서드를 찾고 있습니다. string.indexof 나하고 싶어: if not somestring.contains("blah"): continue in연산자 사용 : if "blah" not in somestring: continue 하위 문자열 검색인 경우 사용할 수 있습니다 string.find("substring") . find , index , in 는 부분 문자열 검색이므로 약간 주의해야 합니다 . 즉, 이것은: s = "This be a string" if s.find("is") == -1: print("No 'is' here!") else: print("Found 'is' in the string.") Found 'is' in the stri..