mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
13 lines
726 B
Plaintext
13 lines
726 B
Plaintext
|
{
|
||
|
"name": "array_to_string",
|
||
|
"type": "function",
|
||
|
"description": "Concatenates array elements into a string separated by a delimiter using and optional string for empty values.",
|
||
|
"arguments": [
|
||
|
{"arg":"array", "description":"the input array"},
|
||
|
{"arg":"delimiter","optional":true,"default":"','","description":"the string delimiter used to separate concatenated array elements"},
|
||
|
{"arg":"emptyvalue","optional":true,"default":"''","description":"the optional string to use as replacement to empty values"}],
|
||
|
"examples": [ { "expression":"array_to_string(array('1','2','3'),',')", "returns":"'1,2,3'"},
|
||
|
{ "expression":"array_to_string(array('1','','3'),',','0')", "returns":"'1,0,3'"}
|
||
|
]
|
||
|
}
|