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.
|