List of utility methods to do File Extension Name Remove
String | stripExtension(String filename) Strip file extensions from the provided filename. if (Util.isBlank(filename)) { return null; if (filename.lastIndexOf('.') == -1) { return filename; return filename.substring(0, filename.lastIndexOf('.')); |