asp trim function
by Ramya[ Edit ] 2010-01-30 09:58:46
Trim() in asp:
Sometimes whitespaces may cause an issue while storing the given input values. To aviod those issues trim whitespaces using Trim() in asp.
Trim(string)
Example:
<%
Dim email, subject, comments, first_name, last_name
name = Trim(Request.Form("Name"))
Response.write(name)
%>