摘要: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, @ 阅读全文
posted @ 2012-07-05 13:43 刘颖 阅读(191) 评论(0) 推荐(0) 编辑