takeUntilLastOccurrence

Return

a sliced copy of this string from start to the last occurrence of string if it exists, this string otherwise