Data.String: performance tuning of substitute_last(). Thanks deris0126!