Name
strrchr
Synopsis
$substring = strrchr($string, $character);
Searches string backwards for character. The function returns the
portion of string
from the first occurrence of
character
it finds to the end of the string. An
empty string is returned if character
is not
found.
Get MySQL and mSQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.