%EDIT is modeled after the OpenVMS DCL lexical function F$EDIT.
It is used to perform one or more edits on a specified string.
%EDIT processes the string of arguments from left to right. %EDIT
gives precedence to the last argument. %EDIT gives precedence to
uppercase over lowercase.
The list of edits may contain any combination of the following
elements:
Element Function
COLLAPSE Removes all tabs and spaces.
COMPRESS Replaces multiple, consecutive tabs or spaces with a
single space.
LOWERCASE Changes uppercase characters to lowercase.
TRIM Removes leading and trailing spaces and tabs.
UPCASE Changes lowercase characters to uppercase.