Dear all,
I have a very basic question.
Imagine I have a list consisting of many entries with integer values of different number of digits, sometimes 5 sometimes 7. In the end I want to have a string with 10 digits/chars. That means if an entry has 5 digit number then 5 times zero should be added in front of that integer, if it has 7 digit number then 3 times zero.
Obviously, I can do this with a giant if else loop but I would very much appreciate an elegant way that will save me some time!
Best,
Atamert