call strrchr $haystack=…;$needle=…
This function returns a part of the $haystack starting at the last occurrence of the $needle until the end of the $haystack