title: Ignoring upper case and lower case in Java
body: <p>I want to know how to make whatever the user inputs to ignore case in my method: </p>
  
  <pre><code>public static void findPatient() {
      if (myPatientList.getNumPatients() == 0) {
          System.out.println("No patient information is stored.");
      }
      else {
          System.out.print("Enter part of the patient name: ");
          String name = sc.next();
          sc.nextLine();
          System.out.print(myPatientList.showPatients(name));
      }
  }
  </code></pre>