//判断字符串里面是否包含汉字
               public static bool CheckChineseInString( string strText)
              {
                      if( strText == null || strText.Length == 0 )
                            return false ;
                      bool flag=false ;
                      foreach( char vChar in strText)
                     {
                            if( (int )vChar >= 19968 && (int)vChar <= 40869 )
                           {
                                  flag= true;
                                   break;
                           }
                     }
                      return flag;
              }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
  • 2022-01-17
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-21
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案