16 lines
405 B
Plaintext

{
"name": "file_suffix",
"type": "function",
"groups": ["Files and Paths"],
"description": "Returns the file suffix (extension) from a file path.",
"arguments": [{
"arg": "path",
"description": "a file path"
}],
"examples": [{
"expression": "file_suffix('/home/qgis/data/country_boundaries.shp')",
"returns": "'shp'"
}],
"tags": ["extension", "path", "suffix", "file"]
}