/** * Combine the lines into a single string, using the new line character as the delimiter. This is compatible with * {@link #splitLines(String)}. * * @param lines the lines to be combined * @return the combined lines, or an empty string if there are no lines */ public static String combineLines( String[] lines ) { return combineLines(lines, '\n'); }