QGIS/resources/function_help/json/base_file_name
2022-02-09 20:47:27 +01:00

16 lines
574 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 or a map layer value. If a map layer value is specified then the file source of the layer will be used."
}],
"examples": [{
"expression": "base_file_name('/home/qgis/data/country_boundaries.shp')",
"returns": "'country_boundaries'"
}],
"tags": ["suffix", "base", "directory", "name", "file", "folder", "path"]
}