text module

text::pad_right

Pad a string on the right to a specified length.

Syntax

RQL

Parameters

NameTypeDescription
valueUtf8The string to pad.
lengthIntegerThe desired total length of the resulting string.
pad_charUtf8The character to use for padding.

Return Value

Returns a Utf8 padded on the right to the specified length.

Examples

$ Pad string on the right
$ ctrl+enter to run

Related Functions