Skip to content

Function: strPadRight() ​

strPadRight(str, length, pad?): string

Defined in: src/formatters.ts:178

Pad the right side of a string with another.

Parameters ​

str ​

string

The source string

length ​

number

The desired length

pad? ​

string = ' '

The value to pad with

Returns ​

string

The padded string

Documentation of 1.0.13 , built from cf61d3b on 1.0.13 by pipeline #2985011498 on 2026-10-21.