A Visual FoxPro built-in function which removes all trailing spaces or parsing characters from the specified character expression.
Trim(cExpression, nFlags, cParseChar, cParseChar2, ...)
Specifies an expression of character to remove all trailing spaces.
Specifies if trimming is case-sensitive when one or more parse characters (cParseChar, cParseChar2, … are included. Trimming is case-sensitive if nFlags is zero or is omitted. Trimming is case-insensitive if nFlags 1.
cParseChar, cParseChar2, ...
Specifies one or more character strings that are trimmed from the end of cExpression. If cParseChar isn't included, then trailing spaces. The maximum number of strings permitted in cParseChar is 23.
Trim('ABC/.. ',[ ],[.],[/])