Description
I would like to have a repeat method with the ability to set a separator:
public static String repeat(String str, char separatorChar, int repeat)
Usage scenario: generate insert statements for JDBC preparedstatements:
assertEquals("?,?,?,?", StringUtils.repeat("?", ',', 4));
Can this be added to commons-lang?
Thanks!