summaryrefslogtreecommitdiff
path: root/stringfunc.go
blob: ff51b80a4e74a1c4909d7830f3e80acba6e46655 (plain)
1
2
3
4
5
6
7
8
9
10
package main

import "strings"

// stringFunc - string manipulation function wrappers
type stringFunc struct{}

func (t stringFunc) replaceAll(old, new, s string) string {
	return strings.Replace(s, old, new, -1)
}