This is cut n paste:
-----------------start-------------------------------
dim str,Alpha,Numeric
str = "EE123"
response.write "My Whole String = " & str & "<br>"
Alpha = Left(str, 2)
response.write "My Letters = " & Alpha & "<br>"
Numeric = Mid(str, 3)
response.write "My Numbers = " & Numeric
-----------------finish-------------------------------
FYI:
Mid Function:
Returns a specified number of characters from a string.
Mid(string, start[, length])
Left Function
Returns a specified number of characters from the left side of a string.
Left(string, length)
Wind is your friend
Matt
|