mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
19 lines
480 B
Plaintext
19 lines
480 B
Plaintext
<h3>rpad() function</h3>
|
|
Returns a string with supplied width padded
|
|
using the fill character.
|
|
|
|
<h4>Syntax</h4>
|
|
<code>rpad(string, width, fill)</code><br>
|
|
|
|
<h4>Arguments</h4>
|
|
<code>string</code> - is string. The string.
|
|
<br>
|
|
<code>width</code> - is int. The length of the new string.
|
|
<br>
|
|
<code>fill</code> - is char. The character to padd the remaining space with.
|
|
|
|
<h4>Example</h4>
|
|
<!-- Show example of function.-->
|
|
<code>rpad('Hello', 10, 'x') → 'xxxxxHello'</code><br>
|
|
|