摘要:
在网上看到一篇关于判断字符串是数字的函数, 感觉思路不错, 代码简洁, 我转载一下:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicstaticboolisnum(stringxtext)//判断字符串是不是数字{boolflag=f... 阅读全文
posted @ 2010-01-06 11:05
零点零一
阅读(541)
评论(2)
推荐(0)
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--FunctionGetInt(ByValinputAsString)AsIntegerDimregAsRegex=NewRegex("^\d+$")IfNotreg.IsMatch(input)The... 阅读全文
posted @ 2010-01-06 10:02
零点零一
阅读(377)
评论(0)
推荐(1)