dim s as strings="418456safsdfs15s1df51sdf56sd"dim Boo as Booleendim Sum as integerfor i=1 to len(s) boo= Asc(mid(s,i,1))>=Asc(0) and Asc(mid(s,i,1))<=Asc(9) if Boo=true then sum=sum+mid(s,i,1) end ifnext