Last occurrence of char in string