title: Last Index of Character in String
body: <p>How do you get the last index of a character in a string in Lua?</p>
  
  <pre><code>"/some/path/to/some/file.txt"
  </code></pre>
  
  <p>How do I get the index of the last <code>/</code> in the above string?</p>