网乐原科技

直播中

news center新闻中心
首页 > 资讯中心 > 软件技术

简单的检查输入email是否合法程序

发布时间:2008-07-17     阅读数: 次       来源:网乐原科技
function chkEmail(email)
on error resume next
dim i,l,pos1,pos2
chkEmail=true
if isnull(email) then chkEmail=false:exit function
pos1= instr(email,"@")
pos2=instrRev(email,".")
if not(pos1>0) or not (pos2>0) or pos1>pos2 then
chkEmail=false
end if
if err.number<>0 then err.clear
end function

以上资料由动网先锋(http://www.aspsky.net)整理制作,转载请说明出处!

网乐原科技

客服热线:0771-5761507

QQ:53290011

QQ邮箱:53290011@qq.com

工作时间:周一到周五 9:00-18:00

地址:广西南宁市江南万达写字楼C16栋1309室

物联网开发

关注我们

微信小商店 腾讯QQ客服 微信客服