-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
enhancementNew feature or requestNew feature or requestfeature_requestFeature requestFeature request
Description
Pads the input text from right to a new length.
padRight ('Foo Bar', 1); // => 'Foo Bar'
padRight ('Foo Bar', 8); // => 'Foo Bar '
padRight ('Foo Bar', 8, '*'); // => 'Foo Bar*'
padRight ('Foo Bar', 10, '*'); // => 'Foo Bar***'
padRight ('Foo Bar', 10, '123'); // => 'Foo Bar123'
padRight ('Foo Bar', 9, '123'); // => 'Foo Bar12'
Aliases
import padRight from '@plexis/pad-right';
import {padRight, rpad} from 'plexis';Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfeature_requestFeature requestFeature request