ASP Trim a string
Trim a string
<html>
<body>
<%
name = " Some text with spaces "
response.write("visit" & name & "now<br>")
response.write("visit" & trim(name) & "now<br>")
response.write("visit" & ltrim(name) & "now<br>")
response.write("visit" & rtrim(name) & "now")
%>
</body>
</html>