getFileName 
Requires a Node.js runtime ('qsu/node')Returns the file name within the path.
Parameters
filePath::string: File or directory pathwithExtension:boolean?|false: Returns the name with extension.
Named
Returns
string
Examples
javascript
getFileName('/home/user/test.txt'); // 'test'
getFileName('/home/user/test.txt', true); // 'test.txt'dart
getFileName('/home/user/test.txt'); // 'test'
getFileName('/home/user/test.txt', withExtension: true); // 'test.txt'