LD中国王海如
dim i as long,str as stringstr=text1.textfor i=1 to len(str)select case asc(mid(str,i,1))case vbkey0 to vbkey9, asc(vbcr), asc(vblf) : case else: mid(str,i,1)=" "end selectnext i
反叛的路鲁修
private sub command1_click()dim i,t for i=1 to len(text1.text) t = asc(mid(text1.text,i,1)) if ( t>65 and t< 91 ) or ( t>96 and t<123 ) text2.text = text2.text + mid(text1.text,i,1) end ifnext iend sub