strings strings.ToUpper 返回给定字符串,并把所有字符转为大写。 签名 strings.ToUpper STRING 返回类型 string 别名 upper {{ upper "BatMan" }} → BATMAN ← 上一篇:ToLower 下一篇:Trim →