title: Check string indentation?
body: <p>I'm building an analyzer for a series of strings.
  I need to check how much each line is indented (either by tabs or by spaces).</p>
  
  <p>Each line is just a string in a text editor.
  How do I check by how much a string is indented?</p>
  
  <p>Or rather, maybe I could check how much whitespace or \t are before a string, but I'm unsure of how.</p>