Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

remove file extension from path dart

  var fileToCompressPath = fileToCompress.absolute.path;
  final fileFormat = fileToCompressPath.substring(fileToCompressPath.lastIndexOf('.'));
  fileToCompressPath = fileToCompressPath.replaceAll(fileFormat, '');
 
PREVIOUS NEXT
Tagged: #remove #file #extension #path #dart
ADD COMMENT
Topic
Name
4+2 =