import * as S from "flurp/string";const rightDot = S.padRight("10, ".");const rightMulti = S.padRight(10, "_.");rightDot("weasel"); // "weasel...."rightDot("grayweasel") // "grayweasel"rightMulti("weasel") // "weasel_._.";rightMulti("aweasel") // "aweasel_._";
padding string (defaults to " ")
Example