Answers for "remove file extension from path dart"

1

remove file extension from path dart

var fileToCompressPath = fileToCompress.absolute.path;
  final fileFormat = fileToCompressPath.substring(fileToCompressPath.lastIndexOf('.'));
  fileToCompressPath = fileToCompressPath.replaceAll(fileFormat, '');
Posted by: Guest on July-05-2021

Code answers related to "remove file extension from path dart"

Code answers related to "Dart"

Browse Popular Code Answers by Language