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