티스토리 뷰

string.contains 함수 혹은 string.indexof 있다.

 

if "string".contains("blah"):

pass

 

혹은

 

if "blah" in "String":

pass

 

같이 작성할 있다.


댓글