Sat Apr 09, 2011 12:19 am
<%
Dim strObj, newStrObj
notice white spaces .
strObj = " My Name is Tom "
Response.Write("String before trim =" & strObj)
newStrObj = LTrim(strObj)
Response.Write("Left trim:String after =" & newStrObj)
newStrObj = RTrim(strObj)
Response.Write("Right trim:String after =" & newStrObj)
newStrObj = Trim(strObj)
Response.Write("Both sides trim:String after =" & newStrObj)
%>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.