mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
Repeats a given string a specified number of times. Eg repeat('Hello', 3) -> 'HelloHelloHello'
18 lines
398 B
Plaintext
18 lines
398 B
Plaintext
{
|
|
"name": "repeat",
|
|
"type": "function",
|
|
"groups": ["String"],
|
|
"description": "Repeats a string a specified number of times.",
|
|
"arguments": [{
|
|
"arg": "string",
|
|
"description": "string to repeat"
|
|
}, {
|
|
"arg": "number",
|
|
"description": "number of times to repeat string"
|
|
}],
|
|
"examples": [{
|
|
"expression": "repeat('Hello', 3)",
|
|
"returns": "'HelloHelloHello'"
|
|
}]
|
|
}
|