ファイル名 または、ファイルパス から 拡張子を取得
拡張子
Let([ str=Substitute ( $FilePath ; "." ; "¶" ) ; MAX=ValueCount ( str ) ; Result=GetValue ( str ; MAX ) ]; "." & Result )