Skip to main content
Adds a specified pad string to the end of the string repetitively up until the length of the resulting string is equivalent to an indicated length. The similar function to pad the start of a string is LPAD.

Syntax

Parameters

Example

The following statement adds the string “ABC” to the end of the string “Firebolt” repetitively until the resulting string is equivalent to 20 characters in length.

Rows: 1Execution time: 6.28ms