title: Can I check which section a string came from in an array?
body: <p>If I have an array like</p>
  
  <pre><code>Dim list As String()
  </code></pre>
  
  <p>and list is read from a file with</p>
  
  <pre><code>list = Split("filehere.txt", ",")
  </code></pre>
  
  <p>and I use something like</p>
  
  <pre><code>If list.Contains("string") then
  code here
  End If
  </code></pre>
  
  <p>can I find out which string of the array "string" came from, for example: string(0) or string(16)</p>