Let\'s say for example that I have one string, like this:
Hello World!
What Go code would be able to extract Hel
Hel
In the strings pkg you can use the Replacer to great affect.
r := strings.NewReplacer("", "", "", "") fmt.Println(r.Replace("Hello World!"))
Go play!