I'm doing a project in Visual Basic but when the user types a string that will be 5 the maximum ex: UF052 I want to make a if
where it will be compared.
If textbox1 = "UF052" the
Comando
End if
But I do not want to compare all the characters and yes only 52 could be UG152 that still would fall in true
.