rpad
Description | Syntax | Parameters | Returns | Example |
---|---|---|---|---|
Pads a string on the right. | rpad(strToPad, paddedStrLen, charToPad) | strToPad: string or array of strings.
paddedStrLen: final length of padded string. charToPad: character to pad with (Optional, Default is SPACE). |
String. | rpad('ABC’, 4)
rpad({'ABC', 'DEF'}, 4) |
Copyright © Cloud Software Group, Inc. All rights reserved.