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