摘要:
1、场景1 替换单纯收个字母大写调用 string s1 = "samuel allen"; string changestr=TextTools.UpperFirst(s1)类方法 public static class TextTools { /// <summary> /// Uppercase first letters of all words in the string. /// </summary> public static string UpperFirst(string s) { return Regex.Replace(s, @ 阅读全文