tcl/t字符串操作【二】
摘要:确定字符串类型:string isdigit 1234=>1string is digit “abc”=>0默认如果字符串为空,对任何类型string is都返回1,可以指定-strict选项强制要求在字符串为空是返回0:string is control “”=>1string is control –strict “”=>0string is命令支持的字符类型类型测试对象Alnum全为Unicode字母或数字alpha全为Unicode字母ascii全为7位ASCII字符boolean可以识别为布尔型值(0 1 no yes true false on off)co
阅读全文
posted @ 2011-12-19 22:49