golang substring

modprobe · 2015-02-28 03:00:01

写东西要注重质量一点。

#3
更多评论

呵呵呵,在中文字符串就不灵了。。 s := "1人民币哈哈只" fmt.Println(s[0:7]) //输出: 1人民

#2