Esempio n. 1
0
 /// <summary>
 /// 汉语数量
 /// </summary>
 /// <param name="input"></param>
 /// <returns></returns>
 public static int CountChinese(this string input)
 {
     return(StringUtility.CountChinese(input));
 }
Esempio n. 2
0
 /// <summary>
 /// 是否包含汉语
 /// </summary>
 /// <param name="input"></param>
 /// <returns></returns>
 public static bool IsContainChinese(this string input)
 {
     return(StringUtility.IsContainChinese(input));
 }