Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to add 0 in left padding using regular expression java

String paddedString = org.apache.commons.lang.StringUtils.leftPad("129018", 10, "0")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #left #padding #regular #expression #java
ADD COMMENT
Topic
Name
5+4 =