String.contains(substring)

"smile".contains("mile")