title: Java - Get first letter of string
body: <p>I am trying to extract the first letters of each word in a sentence the user has spoken into my app. Currently if the user speaks "Hello World 2015" it inserts that into the text field. I wish to split this so if the user speaks "Hello World 2015" only "HW2015" is inserted into the text field. </p>
  
  <pre><code>final ArrayList&lt;String&gt; matches = data.getStringArrayListExtra(
                  RecognizerIntent.EXTRA_RESULTS);
  </code></pre>
  
  <p>The matches variable is storing the users input in an array.I have looked into using split but not sure exactly how this works.</p>
  
  <p>How would I achieve this?</p>
  
  <p>Thank You   </p>