# Remove *Str

Remove returns a new instance of Str with all occurrences of the given substring removed.

# Signature

func (s *Str) Remove(old string) *Str

# Examples

str.New("i like c++").Remove("c++").String()
// "i like "

str.New("rocket πŸš€ man").Remove("πŸš€").String()
// "rocket  man"

str.New("go, go, go!").Remove("go").String()
// ", , !"

str.New("δ½ ε₯½δΈ–η•Œ").Remove("δ½ ε₯½").String()
// "δΈ–η•Œ"

str.New("").Remove("go").String()
// ""