I am trying to generate a numerical string by padding the number with zeroes to the left.
0 would become 00000 1 would become 00001 10 would become 00010
I want to create five character NSString by padding the number with zeroes.
I read this Create NSString by repeating another string a given number of times but the output is an NSMutableString.
How can I implement this algorithm with the output as an NSString?
Best regards.