Removes leading and trailing spaces from a string.
Obsolete function TrimW is an obsolete function. It has the same behavior as Trim.
TrimW ( string )
String. Returns a copy of string with all leading and trailing spaces deleted if it succeeds and the empty string ("") if an error occurs.