用法 func Title(s string) string 例子: fmt.Println(strings.Title("full book all")) fmt.Println(strings.Title("note cloud")) fmt.Println(strings.Title("common")) 输出如下,全部以大小写的单词开头 Full Book All Note Cloud Common Title返回字符串s的副本,其中包含所有Unicode字母,这些单词以映射到其Unicode标题大小写的单词开头。