hello all hope someone can help with that. I was browsing the net and nothing really seems to make sense :S
so I have a string lets say: \"123\" and I would
\"123\"
What about the NSString method stringByPaddingToLength:withString:startingAtIndex:.
NSString* padr(NSString* string, NSUInteger length, NSString *repl) { return [string stringByPaddingToLength:length withString:repl startingAtIndex:0]; }