package class5_2_contains; import java.util.Scanner; public class Example { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.println("Please enter a long string:"); String str1 = in.nextLine(); System.out.println("Please enter the search string:"); String str2 = in.nextLine(); for(int i=0;i= str2.length(); } boolean isContained; } }