title: Left pad zeroes to a string variable in java
body: <p>I have a string variable of 10 digits, if something less than 10 i need to append '0' before the variable. Example if the string is 9909909 it should be returned as 0009909909. how to do it in java</p>