public class Scratch {
    public static void main(String[] args) {
        String a = "hello world";
        System.out.println(a.contains("ell")); // True
        System.out.println(a.contains("elo")); // False
    }
}
