← Back to tools
Repeat & pad
repeat(), padStart(), padEnd(); pad uses the first code unit of the fill string.
Back to homerepeat(), padStart(), padEnd(); pad uses the first code unit of the fill string.
Back to homeTop: repeat; bottom: padStart / padEnd.
HiHiHi
000000Hi
Surrogate pairs and emoji may count as two UTF-16 code units.