rem: var rawName = uploadFile.getName().split("/"); var filename = rawName[rawName.length-1]; if (filename.lastIndexOf(".") > -1) filename = filename.substring(0, filename.lastIndexOf(".")); 
add: var filename = uploadFile.getName().split("/").pop(); var pos = filename.lastIndexOf("."); if (pos > 0) filename = filename.substring(0, pos); else if (pos > -1) filename = filename.substring(1, filename.length); 
context: function buildAliasFromFile(uploadFile, collection) {   var rawName = uploadFile.getName().split("/");   var filename = rawName[rawName.length-1];   if (filename.lastIndexOf(".") > -1)      filename = filename.substring(0, filename.lastIndexOf("."));   return buildAlias(filename, collection);}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/da8cba60942fa4633c1cf6466b6daddff00055b7/objectFunctions.js/clean/code/Global/objectFunctions.js