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:
http://AAA/home
http://AAA/home/01
http://AAA/home/02
Then stop the function, but if url doesn't have "home" string, then do the function:
http://AAA/next
http://AAA/test
Can anyone give me some clue about detecting the particular string in url ?