public static String pad ( final StringBuffer buff , final String string , final int count ) { for ( int i = 0 ; i < count ; i ++ ) { buff . append ( string ) ; } return buff . toString ( ) ; }
Return a string padded with the given string for the given count .