📌  相关文章
📜  获取路径扩展脚本的文件扩展名 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:04.458000             🧑  作者: Mango

代码示例1
// Extract file name and extension from file object in ExtendScript
var myFileName = myFile.name.replace(/.[^.]+$/,'');
var myFileExt = myFile.name.replace(/^.*\./,'');