file_ext(filenames);
character vector giving file paths. [as string]
file_ext returns the file (name) extensions (excluding the leading dot). (Only purely alphanumeric extensions are recognized.)
file_ext