[Golang] 源码探究:strings

2019-05-02
阅读 7 分钟
2.9k
func Contains(s, substr string) boolContains()返回一个布尔值,若substr存在于s中,则返回true,不存在则返回false。