摘要: (1)判断字符串s是否有前缀字符串prefix; func HasPrefix(s, prefix string) bool (2)判断字符串s是否有后缀字符串suffix; func HasSuffix(s, suffix string) bool (3)判断字符串s是否包含子串substr; f 阅读全文
posted @ 2020-03-30 14:34 黑曼巴后仰 阅读(1105) 评论(0) 推荐(0) 编辑