SenseTalk ReferenceSenseTalk Dictionary *Preview*FfileExtensionVersion: 25.4On this pagefileExtensionFunction The fileExtension() function accepts a file path as a parameter and returns just the file extension (the part of the name after the final '.'). Example: if fileName's fileExtension is "txt" then set isTextFile to true Related Terms Related terms in the SenseTalk Dictionary. lastPathComponent