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