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