<% 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)
%>
_________________ M. S. Rakha, Ph.D. Queen's University Canada