【发布时间】:2017-08-24 06:30:46
【问题描述】:
我只想从字符串中获取字母。 例如。 假设字符串是这样的:123abc456d 我想得到:abcd 寻找类似的东西,但寻找字符串中的字母:
Dim mytext As String = "123a123"
Dim myChars() As Char = mytext.ToCharArray()
For Each ch As Char In myChars
If Char.IsDigit(ch) Then
MessageBox.Show(ch)
End If
Next
谢谢
【问题讨论】: