I have a string for which I want to add 0s or spaces to the left, depending on the length of the string.
I want to add two zeros to the left of the string below, but the string returned is always the same as the original string.
What am I doing wrong?
str_TicketID = “1234”
str_TicketID.PadLeft(2,CChar(“0”))