aspÖÐ±íµ¥¼ìÑéµÄÎÊÌâ
ÈËÆø£º
¡¾×ÖÌ壺´ó ÖРС¡¿
·¢²¼Ê±¼ä£º2007-04-15 18:08:17
>>>>>>>>ÌáÎÊÎÒÏë¼ì²âµç»°ÖпÉÒÔº¬ÓÐÊý×Ö ºá¸ÜºÍµã ÇëÎÊÔõô¼ì²â£¿
ÎÒÊÇÐÂÊÖ °ÝÍдó¼Ò¸øÎÒ¸öÀý×Ó¿´¿´
ÐÝ ÏÐ ¾Ó ±à ¼
ÇóÄãÃÇÁË ÓÃÕýÔò±í´ïʽҲÐа¡
>>>>>>>>ÐÝÏÐÑøÉúÍø»Ø´ð£º str="0123456789.-"
tele="86. 010 - 12ab3c4-56.7"
tele=replace(tele," ","") //È¥µô¿Õ¸ñ
·½·¨Ò»£º
for i=1 to len(tele)
if instr(str,mid(tele,i,1))=0 then
response.write "¶Ô²»Æ𣬵绰ºÅÂëÖв»ÄÜ°üº¬"£¦mid(tele,i,1)
exit for
end if
next
·½·¨¶þ£º
newTele£½""
for i=1 to len(tele)
if instr(str,mid(tele,i,1))<>0 then
newTele£½newTele & mid(tele,i,1)
end if
next
ÏÔʾ½á¹û£º86.010-1234-56.7
¡Ô ²é¿´¡¢·¢±íÆÀÂÛ ¡Ô