How can one pad a string to left in objective c.
E.g if I have an integer value of 6 I want it to be displayed as 06.
I use stringByPaddingToLength:
but it pads it to the right like 60.
Your help is much appreciated.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…