Php replace last occurrence of character in string July 8, 2019 16 32 64 128 Php replace last character in string