User Tools

Site Tools


syntax:functions:filename

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
syntax:functions:filename [2021/08/29 00:31] craigtsyntax:functions:filename [2021/08/29 01:07] – [Examples] craigt
Line 1: Line 1:
-====== Filename(path) ======+====== Filename(full_path) ======
 Category:  File function  (found in the "Special" category in the EasyMorph application) Category:  File function  (found in the "Special" category in the EasyMorph application)
  
Line 9: Line 9:
 =====Arguments===== =====Arguments=====
 ^Argument^Type^Description^ ^Argument^Type^Description^
-|path  |Text  |A file path including the file name.|+|full_path  |Text  |A file path including the file name.|
  
 **Return value type:** Text. **Return value type:** Text.
Line 21: Line 21:
 =====Examples===== =====Examples=====
  
-   filename('C:\Documents\myproject.morph' //Returns 'myproject'+  filename('C:\Documents\myproject.morph' //Returns 'myproject'
  
-   filename('…\mypath\myfile.txt' //Returns 'myfile'+  filename('…\mypath\myfile.txt' //Returns 'myfile'
  
 \\  \\ 
 =====See also===== =====See also=====
   * [[syntax:functions:directory|Directory(full_path)]]   * [[syntax:functions:directory|Directory(full_path)]]
-  * [[syntax:functions:fileextension|FileExtension(path)]]+  * [[syntax:functions:fileextension|FileExtension(full_path)]]
  
  
syntax/functions/filename.txt · Last modified: 2022/11/11 10:02 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki