title: Lambda expression to generate a sublist based on existence of an entry
body: <p>I have a simple List which is ordered. </p>
  
  <pre><code>A = ["a","b","c","d","e"];
  </code></pre>
  
  <p>I need to generate a subset of the list based on the criteria. If an element <code>E</code> exists in the array, then return all the elements in the List after the element <code>E</code>, otherwise return <code>null</code>.</p>
  
  <p>Normally, I'd do this something like:</p>
  
  <pre><code>int index = A.indexOf("e");
  List&lt;String&gt; subList = A.subList(index, A.size());
  </code></pre>
  
  <p>Can this be done with an equivalent lambda expression? </p>