strchr is an alias of strstr:
Returns part of haystack string starting from and including the first
occurrence of needle to the end of haystack.
strrchr:
This function returns the portion of haystack which starts at the last
occurrence of needle and goes until the end of haystack.
strchr
starts at the first occurrence, strrchr
starts at the last occurrence.