title: How to find out if a word starts with a vowel
body: <p>I need to find out if a word in a file starts with a vowel or not, and I know how to do it but my if statement is very inefficient. I had to put the words from my tokenizer into an arrayList and then use an if statement that uses .startsWith() 5 different times to account for each vowel. Is there potentially a faster way to do it? </p>
  
  <pre><code>    while (s.hasMoreTokens()){
          word = s.nextToken();
          list.add(word);
          if (list.get(i).startsWith("a")||list.get(i).startsWith("e")||list.get(i).startsWith("i")||list.get(i).startsWith("o")||list.get(i).startsWith("u")) {
              vowelCount++;
          }
      }
  </code></pre>