How do I pad a string (left or right) to make a fixed length?
I used the String Function library for years and it was easy ...
MyReg = sf.Pad(RegNos,"0",6,False)
I'm moving away from sf and all I am looking for a really 'clean' solution.
Am I missing a really simple command for padding without using a library?
Thank you for any direction to fill this gap in my learning.
I used the String Function library for years and it was easy ...
MyReg = sf.Pad(RegNos,"0",6,False)
I'm moving away from sf and all I am looking for a really 'clean' solution.
Am I missing a really simple command for padding without using a library?
Thank you for any direction to fill this gap in my learning.
Last edited: