mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
16 lines
452 B
Plaintext
16 lines
452 B
Plaintext
{
|
|
"name": "base_file_name",
|
|
"type": "function",
|
|
"groups": ["Files and Paths"],
|
|
"description": "Returns the base name of the file without the directory or file suffix.",
|
|
"arguments": [{
|
|
"arg": "path",
|
|
"description": "a file path"
|
|
}],
|
|
"examples": [{
|
|
"expression": "base_file_name('/home/qgis/data/country_boundaries.shp')",
|
|
"returns": "'country_boundaries'"
|
|
}],
|
|
"tags": ["suffix", "base", "directory", "name", "file"]
|
|
}
|