Category: File function (found in the "Special" category in the EasyMorph application)
This function extracts the filename (without extension) from a full file path.
|full_path||Text||A file path including the file name.|
Return value type: Text.
This function works with both relative and absolute file paths.
The file name can contain dots. In this case, the last dot separates the file name for the file extension (if present).
filename('C:\Documents\myproject.morph') //Returns 'myproject'
filename('…\mypath\myfile.txt') //Returns 'myfile'