メインコンテンツまでスキップ
バージョン:25.2

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 '.').

  • Examples: +

     if fileName's fileExtension is "txt" then set isTextFile to true
  • Related: lastPathComponent