String ($) Function for Visual Basic 6.0 Users
Visual Basic 2008 eliminates the need for some functions to have both a String version and a Variant version.
Visual Basic 2008 replaces each function pair with a single function. The Variant versions are discontinued, and you can call the String versions either with or without the $ suffix.
Although only Trim is defined, Visual Basic 2008 accepts Trim$ because the $ works as an identifier type character for the String data type.