Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/padEnd.js";

Pads string on the right side if it's shorter than length. Padding characters are truncated if they exceed length.

Examples

_.padEnd('abc', 6); // => 'abc '

.padEnd('abc', 6, '-'); // => 'abc_-_'

_.padEnd('abc', 3); // => 'abc'

Parameters

string
length
chars