Difference between Trim() and Trim$()

P

Powderfinger

What is the difference between Trim() and Trim$()?

I notice that several functions can have the $ symbol at the end, what makes
them different?
 
D

Douglas J Steele

Another important difference is the fact that the string functions without
the $ sign can accept Null values as an argument, while the functions with
the $ sign can't.

Trim(Null) will simply return Null. Trim$(Null) will raise a run-time error
94 ("Invalid use of Null").
 
Top