VMS Help — MACRO /ALPHA Lexical Operators, %EXTRACT Description
%EXTRACT is modeled after VAX MACRO's %EXTRACT macro string
operator and the OpenVMS DCL lexical function F$EXTRACT. %EXTRACT
is used to extract a specified range of characters from a string.