Dear Statalist users,

I have a string variable(patient id) in the form
ED6/01/001
ED6/01/002
ED6/01/003

I would like to automatically convert it to the form
ED6/01/0001
ED6/01/0002
ED6/01/0003

Your assistance is much appreciated