/wro4j-core/src/main/java/ro/isdc/wro/util/StringUtils.java
sbuf.append( inString.substring( pos, index) ) ;sbuf.append( inString.substring( pos) ) ;
sbuf.append ( inString.substring ( pos ) ) ;
while (index >= 0) { sbuf.append(inString.substring(pos, index)); sbuf.append(newPattern); pos = index + patLen; index = inString.indexOf(oldPattern, pos); } <extra_id_0> return sbuf.toString(); } private static String collectionToDelimitedString(final Collection<String> coll, final String delim) { return collectionToDelimitedString(coll, delim, EMPTY, EMPTY); }