$ vbl = string - substring
$ DVN = F$GETDVI( “SYS$DISK”, “ALLDEVNAM” )
Removing a substring from a longer string is known as string reduction. The first instance of the substring is removed from the longer string, and the result is stored in the target symbol.
The example illustrates stripping the underscore and colon from a device name.