fcf.getShortFileName() function
Package: fcf-framework-core
File: fcf-framework-core:fcf.js
Available from version: 2.0.2
Returns a filename without a path extension
Arguments
- Source path
Result
- A filename without a path extension
Example: Function application
let result = fcf.getShortFileName("directory/file.txt");
console.log(result);
Output:
file