TextBox1.Text = "9856321470,123564780,9847562155,956325698,8452136547" Dim text As String() = TextBox1.Text.Split(","C) For i As Integer = 0 To text.Length - 1 If text(i).Length = 10 Then ElseIf text(i).Length <> 10 Then //error message here End If Next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)