title: How to find the location of a string in a text file
body: <p>I'm trying to figure out how to find a certain string and display how many lines down it is in a text file. </p>
  
  <p>For example let's saying I'm trying to find the string "I'm a string" in a text file then also have the location of the string(As in lines down) recorded in a variable.</p>
  
  <p>Anyone got any tips too accomplish this?</p>
  
  <p>Thanks</p>