strings.Replace
Remove 5 lines from the codebase and an unecessary function, by calling `strings.Replace` with -1 for the fourth argument. A better alternative to what was merged in #8037