1
I want to convert this PHP code into LUA language. The problem is that there is no function stripos
which counts the first occurrence of the desired word in LUA.
How can I convert the code below?
<?php
echo stripos("I love php, I love php too!","PHP");
?>