title: How do I search for string within a string in Haskell?
body: <p>How would I do the Haskell equivalent of this from Python? </p>
  
  <pre><code>&gt;&gt;&gt; "this is a test".find("test")
  10
  </code></pre>
  
  <p>Edit: basically I have some text, for example: "this is a test". Now I have a string that I'd like to find within that text, for example: "test". How can I find the character offset of "test" within "this is a test"? </p>