|
Hello,
You can do this:
<%
Dim howlong,phone
phone="12312312"
howlong=Len(phone)
IF howlong>7 THEN
Response.Write "Your number is to long"
ELSE
phone="xxxxxxxxxx"
END IF
%>
If you need to remove the number form the text you can use Right(string,length) to cut the number out.
will that help?
__________________
CYTech-services.com - 100 Satisfied Customers - Custom Programming and Web Development
|