mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[expression] add wordwrap function help file
This commit is contained in:
parent
1fcb4f06bb
commit
3cfee81259
15
resources/function_help/wordwrap
Normal file
15
resources/function_help/wordwrap
Normal file
@ -0,0 +1,15 @@
|
||||
<h3>wordwrap() function</h3>
|
||||
Returns a string wrapped to a minimum number of characters.
|
||||
|
||||
<p><h4>Syntax</h4>
|
||||
replace(<i>string,delimiter_string,minimum_characters</i>)</p>
|
||||
|
||||
<p><h4>Arguments</h4>
|
||||
<!-- List args for functions here-->
|
||||
<i> string</i> → is string. The string to be wrapped.<br>
|
||||
<i> delimiter_string</i> → is string. The delimiter character(s) to break to a new line.<br>
|
||||
<i> minimum_characters</i> → is number. The minimum number of characters required to allow for break to a new line<br></p>
|
||||
|
||||
<p><h4>Example</h4>
|
||||
<!-- Show example of function.-->
|
||||
wordwrap('UNIVERSITY OF QGIS',' ',3) → 'UNIVERSITY\nOF QGIS'</p>
|
@ -1452,7 +1452,7 @@ const QStringList &QgsExpression::BuiltinFunctions()
|
||||
<< "coalesce" << "regexp_match" << "$now" << "age" << "year"
|
||||
<< "month" << "week" << "day" << "hour"
|
||||
<< "minute" << "second" << "lower" << "upper"
|
||||
<< "title" << "length" << "replace" << "trim"
|
||||
<< "title" << "length" << "replace" << "trim" << "wordwrap"
|
||||
<< "regexp_replace" << "regexp_substr"
|
||||
<< "substr" << "concat" << "strpos" << "left"
|
||||
<< "right" << "rpad" << "lpad"
|
||||
|
Loading…
x
Reference in New Issue
Block a user