VBScript does not include any functions to left pad or right pad a string, so these two functions will enable you to do just that.
Function LPad(StringToPad, Length, CharacterToPad)
Dim x : x = 0
If Length > Len(StringToPad) Then x = Length - … [Continue reading] about VBScript lpad and rpad functions