+ " occurrences are found and removed. Average speed: "
+ count
/ ((System.currentTimeMillis() - startTime) / 1000.)
+ " occurrences per second.");
}
startIndex = blogXML.indexOf(commentStart, startIndex);
}
System.out.println(count + " occurrences are found and removed.");
endTime = System.currentTimeMillis();
timeUsed = (endTime - startTime) / 1000.;
System.out.println("The time used for replacement is: " + timeUsed