replaceLast

Replaces the last occurrence of a string.

Example