首页  编辑  

单词首字母大写

Tags: /C#/字符串处理/   Date Created:

using System . Globalization;

TextInfo vTextInfo = new CultureInfo ( "en-US" , false ) . TextInfo;

Text = vTextInfo . ToTitleCase( "how are you?" );