📌  相关文章
📜  从路径 dart 代码示例中删除文件扩展名

📅  最后修改于: 2022-03-11 14:48:09.433000             🧑  作者: Mango

代码示例1
var fileToCompressPath = fileToCompress.absolute.path;
  final fileFormat = fileToCompressPath.substring(fileToCompressPath.lastIndexOf('.'));
  fileToCompressPath = fileToCompressPath.replaceAll(fileFormat, '');