{{tag>Index Function Function_List Files}} ====== FILE_EXTENSION ====== ===== Description ===== Returns the extension of the specified file or document ===== Parameters ===== An expression returning a string identifying a file or directory name or an attribute of the Document type ===== Example ===== DISPLAY MESSAGE ('File extension is ' + FILE_EXTENSION('c:/myfile.txt'))