I have a variable to hold an id
Dim empId as String
So the format for a valid ID is:
'the first character should be a letter [A-Z]
'the rest of the string are digits e.g M2895 would be a valid id
I would like to check each of those characters to see if they fit the correct ID
So far, I have come across the isNumeric()
function. Is there a similar function in VB.NET to check if a character is a string or alpha character?