title: In Lua, how to find particular string in url ?
body: <p>I'm writing a Lua function, and I want to add a if/else statement if url has particular string for example "home", if url look like this:</p>
  
  <pre><code>http://AAA/home
  http://AAA/home/01
  http://AAA/home/02
  </code></pre>
  
  <p>Then stop the function, but if url doesn't have "home" string, then do the function:</p>
  
  <pre><code>http://AAA/next
  http://AAA/test
  </code></pre>
  
  <p>Can anyone give me some clue about detecting the particular string in url ?</p>