Trim                                                                                                           Function

 

TRIM(theString as String) As String

 

Description

Removes all leading and trailing space characters from the start and end of the string and returns it.

 

Example

Dim result as String

Result=Trim(CityName)