strings.NewReplacer() Function in Golang returns a new Replacer from a list of previous, new string sets. Substitutions are performed within the order they show up within the target string, without overlapping matches. The old string comparisons are done in argument order. The old string comparisons are done in argument order.
func NewReplacer(oldnew ...string) *Replacer
Remember NewReplacer panics if given an odd number of arguments.
Hey I am <b>GFG</b>!
The dsa course of geeksforgeeks is easy not tough;