判断字符串中是否包含有数字

看到此标题《判断字符串中是否包含有数字》,你也许会想起使用正则来解决。
比如下面字符串“abc123def”

如果是使用正则:



而Insus.NET真正想使用MSDN所提供的方法,就是char.IsDigit()方法:



如果你是想在ms SQL Server中判断,可以参考:
http://www.cnblogs.com/insus/archive/2011/06/25/2090231.html



posted @ 2013-07-21 13:41  Insus.NET  阅读(1759)  评论(1编辑  收藏  举报