Software >> OS >> OpenVMS >> How to manipulate strings in OpenVMS

F$EDIT(string, edit-list) string Specifies a character string to be edited. Quoted sections of the string are not edited. edit-list Specifies a character string containing one or more of the following keywords that specify the types of edits to be made to the string: Edit Action COLLAPSE Removes all spaces or tabs. COMPRESS Replaces multiple spaces or tabs with a single space. LOWERCASE Changes all uppercase characters to lowercase. TRIM Removes leading and trailing spaces or tabs. UNCOMMENT Removes comments. UPCASE Changes all lowercase characters to uppercase. If you specify more than one keyword, separate them with commas (,). Do not abbreviate these keywords. Edits are not applied to quoted sections of strings; therefore, if a string contains quotation marks (" "), the characters within the quotation marks are not affected by the edits specified in the edit list.