title: Java - Simple english to leet converter
body: <p>I'm trying to create  a simple "english to leet" converter but I have no idea what method to use in order to convert the string to leet.</p>
  
  <p>And for some reason I can't use equalsIgnoreCase when I have the strings english[] and leet[] </p>
  
  <pre><code>    public static void main(String[] args) {
      String english[] = {"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"};
      String leet[] = {"4", "8", "(", ")", "3", "}", "6", "#", "!", "]", "X", "|", "M,", "N", "0", "9", "Q", "2", "Z", "7", "M", "V", "W", "X", "J", "Z"};
      String result = "";
  
      Scanner sc = new Scanner(System.in);
      String Str = sc.nextLine();
  
      for (int i = 0 ; i &lt; english.length ; i++) {    
  
          if (Str.equalsIgnoreCase(english)) {
          // convert to leet
          }
      }
  }
  </code></pre>
  
  <p>}</p>