Hi, I cant seem to convert the following into vc++ from vb.net.
Dim i As Integer
Dim address As String = myReader.Item("Address")
Dim addresses() = address.Split(" ")
Dim secondPartIndex As Integer
For i = 0 To addresses.Length - 1
If Regex.IsMatch(addresses(i), "^\D{1,}$") And secondPartIndex = 0 Then
secondPartIndex = i
End If
Next
Can someone show me how its done please? Thanks