Feature: `padRight/ rpad` #113
AngelGzS opened this issue · comments
Angel Gonzalez commented
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';
issue-label-bot commented
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.95. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Igor Berlenko commented
Can I take this issue?
Angel Gonzalez commented
Can I take this issue?
Sure
Lucas Sorenson commented
Is it safe for me to assume that I could work on this one? 7flash said they would take it 7 months ago .
Angel Gonzalez commented
Yes you can take it.