You are on page 1of 1

Dim A As String = String.Format("{0}{1}{2}{3}{4}", TextBox1.

Text, _
TextBox2.Text, TextBox3.Text, _
TextBox4.Text, TextBox5.Text)

B As String = StrReverse(A)
If A = B Then
MsgBox("ES UN NUMERO CAPICUA")
Else
MsgBox("NO ES CAPICUA")
End If

You might also like