Skip to main content
Version: 25.4

fileExtension

Function

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 in the SenseTalk Dictionary.