PHP strripos Function

What is strripos Function?


In PHP this function is used to find position of last occurrence of a case-insensitive string in a string.



In the above syntax "string" specifies the text to be searched in, "find" specifies the string to be searched for,"start" specifies the position where to begin search.

Example :

echo strripos("Hiox India!","I");
Result :


In the above strripos function example the string "I" is searched for its last occurence which happens to be in the "8"th position.

PHP Topics

Ask Questions

Ask Question