摘要: 1 package main 2 3 import ( 4 "fmt" 5 "strings" 6 ) 7 8 func main() { 9 10 s1 := " aBc" 11 s2 := "100a" 12 s3 := s1 + s2 13 fmt.Println(s3) 14 fmt.Println(strings.HasPrefix(s3, "a")) //判断前缀 15 fmt.Pri 阅读全文
posted @ 2019-11-01 14:58 lvelvis 阅读(751) 评论(0) 推荐(0) 编辑
#####