title: Remove Entries from Array starting from specific character
body: <p>I have an array list that I need to modify to get rid of all the entries starting from the word that contains the period and earlier. </p>
  
  <p>For example :</p>
  
  <pre><code>arrayList(0)= My
  arrayList(1)= Name
  arrayList(2) = Is
  arrayList(3) = David.
  arrayList(4) = How
  arrayList(5) = Are
  </code></pre>
  
  <p>I need to remove arrayList(0-3)</p>
  
  <p>I tried using:</p>
  
  <pre><code>dim pIndex = arrayList.LastIndexOf(arraylist.contains("."))
  arrayList.RemoveRange(0,pIndex)
  </code></pre>
  
  <p>but just returns pIndex=-1 (meaning it can't be found)</p>
  
  <p>How can I get the index of the entry with a period?</p>