Have you tried a StringBuilder? That sound like what it is designed for.
Joined: Jan 27, 2011
you can use like this.
Joined: Oct 13, 2005
If you simply want to prepend 0s to a String, you can use a loop to append however many 0s to an empty StringBuilder, and append the string you want.