/zwpad

Creates a new string by concatenating enough leading zero-width pad characters to an original string to achieve a specified total length

Primary LanguageJavaScript

zwpad

Creates a new string by concatenating enough leading zero-width pad characters to an original string to achieve a specified total length.

Usage

var zwpad = require("zwpad")
var str = zwpad("a", 5)