Dim number As String = "07747(a)"
If number.... Then
endif
I want to be able to check inside the string to see if it only has number, if it does only contain numbers then run whatever is inside the if statment? What check do i use to check if the string only contains numeric and no alpha ot () etc ..?
What i am trying to check for is mobile numbers, so 077 234 211 should be accepted, but other alphas should not be
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…