question: public static String leftPad ( String str , int size , String delim ) { size = ( size - str . length ( ) ) / delim . length ( ) ; if ( size > 0 ) { str = repeat ( delim , size ) + str ; } return str ; }
target:  Left pad a String with a specified string. Pad to a size of n.