软件编程
位置:首页>> 软件编程>> C#编程>> C# 格式化字符首字母大写的方法

C# 格式化字符首字母大写的方法

  发布时间:2022-04-28 00:05:12 

标签:格式化,字符,首字母

1.单个词语


System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase(string str);


2.句子


Strings.StrConv("str.str.str str_str", VbStrConv.ProperCase, System.Globalization.CultureInfo.CurrentCulture.LCID);
0
投稿

猜你喜欢

手机版 软件编程 asp之家 www.aspxhome.com