The trim function

Description

The trim function returns a string formed by removing all leading and trailing spaces from the parameter passed to it.

Parameter

The trim function's only parameter is an expression of string type or char type.

Example

   trim(' hello!! ')  returns 'hello!!'

Portability

Operating Systems: All
Standard Pascal: No