User Tools

Site Tools


syntax:functions:filename

This is an old revision of the document!


Filename(full_path)

Category: File function (found in the "Special" category in the EasyMorph application)


Description

This function extracts the filename (without extension) from a full file path.


Arguments

ArgumentTypeDescription
full_path Text A file path including the file name.

Return value type: Text.


Remarks

This function works with both relative and absolute file paths.


Examples

filename('C:\Documents\myproject.morph')  //Returns 'myproject'
filename('…\mypath\myfile.txt')  //Returns 'myfile'


See also

syntax/functions/filename.1630213658.txt.gz · Last modified: 2021/08/29 01:07 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki