syntax:functions:filename
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| syntax:functions:filename [2018/06/11 07:13] – dmitry | syntax:functions:filename [2022/11/11 10:02] (current) – [Remarks] dmitry | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== filename(text) ===== | + | ====== Filename(full_path) ====== |
| + | Category: | ||
| + | |||
| + | \\ | ||
| + | =====Description===== | ||
| + | This function extracts the filename (without extension) from a full file path. | ||
| + | |||
| + | \\ | ||
| + | =====Arguments===== | ||
| + | ^Argument^Type^Description^ | ||
| + | |full_path | ||
| + | |||
| + | **Return value type:** Text. | ||
| + | |||
| + | \\ | ||
| + | =====Remarks===== | ||
| + | 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). | ||
| + | \\ | ||
| + | =====Examples===== | ||
| + | |||
| + | filename(' | ||
| + | |||
| + | filename(' | ||
| + | |||
| + | \\ | ||
| + | =====See also===== | ||
| + | * [[syntax: | ||
| + | * [[syntax: | ||
| - | Extracts the filename (without extension) from a full file path. | ||
| - | ^ Example | ||
| - | | filename(' | ||
syntax/functions/filename.1528715626.txt.gz · Last modified: by dmitry