asp trim function
by Ramya[ Edit ] 2010-01-30 09:57:53
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("FirstName"))
Response.write(name)
<%