( ! ) Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in D:\www\up\CSharp\base01.php on line 20
Call Stack
#TimeMemoryFunctionLocation
10.0000355224{main}( )...\base01.php:0

( ! ) Warning: include(http://pub.houheaven.com/Nav02/Nav_deep2.htm): failed to open stream: no suitable wrapper could be found in D:\www\up\CSharp\base01.php on line 20
Call Stack
#TimeMemoryFunctionLocation
10.0000355224{main}( )...\base01.php:0

( ! ) Warning: include(): Failed opening 'http://pub.houheaven.com/Nav02/Nav_deep2.htm' for inclusion (include_path='.;C:\php\pear') in D:\www\up\CSharp\base01.php on line 20
Call Stack
#TimeMemoryFunctionLocation
10.0000355224{main}( )...\base01.php:0

① 判断方法

01Char.IsLetter(str,n)是否为字母
02Char.IsLower(str,n)是否为小写字母
03Char.IsUpper(str,n)是否为大写字母
04Char.IsNumber(str,n)是否为数字
05Char.IsDigit(str,n)是否为十进制数字
06Char.IsLetterOrDigit(str,n)是否为字母或十进制数字
07Char.IsWhiteSpace(str,n)是否为空白字符类别
08Char.IsSymbol(str,n)是否为符号字符类别
09Char.IsControl(str,n)是否为控制字符类别
10Char.IsPunctuation(str,n)是否为标点符号类别
11Char.IsSeparator(str,n)是否为分隔符类别

说明:str 为所要查找的字符串,n 为索引值,方法返回值为 bool值,真或假。

② 转化方法

使用:Char.toUpper(ch1);

使用:Char.toLower(ch1);

使用:Char.toString(ch1);

显示框架
显示框架
显示框架
显示框架