It is my second day with golang, I'll probably ask a very basic question:
I want to replace parts of a string, that is what strings.Replace is good for:
func Replace(s, old, new string, n int) string
The last parameter is the number of times old
gets replaced by new
- starting from the beginning of the string.
Is there a similar standard function that starts from the end?