We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
myString.padStart(4, '0')
This will pad myString with 0s to a length of 4. E.G. '24' => '0024'
'24' => '0024'