View Single Post
  #2 (permalink)  
Old 08-29-2007, 11:31 AM
Erel's Avatar
Erel Erel is offline
Administrator
 
Join Date: Apr 2007
Posts: 3,143
Default

There is no built-in function but you have two options:
1. If the string doesn't include spaces in the middle: StrReplace(string," ","")
2. If the string may contain spaces you will need to go over each character and manually remove the leading / trailing spaces.
Reply With Quote