..


Sponsored Links

strrpos

Strrpos function finds the last occurrence of a character within a string. Its syntax is as follows:

 



 strrpos (dove_cercare, cosa_cercare [starting point])

 
The indication of a starting point (integer numeric value) is optional.

For example:
 



 $ Position = strrpos ("mrwebmaster", "r");







 echo $ position;

 
will produce the following output:
 



 10

 
If the search is successful the function returns false.

Note that the function is case-sensitive so strrpos is case sensitive.

In the same category ...
E-Learning
Linux (Course) Linux (Course)
Complete guide to open-source system. From 49 €.
MySQL (Course) MySQL (Course)
Management of open-source database. From 39 €.
PHP (Course) PHP (Course)
Full course for creating dynamic Web sites. From 49 €.
Sponsored Links