https://github.com/spring-projects/spring-boot
StringBuilder to provide replace(CharSequence target, CharSequence replacement) like String which will make it more easier to manipulate existing StringBuilder instead of creating new for these kind of replacement.StringBuilder offer public StringBuilder replace(int start, int end, String str) for replacement of substring, but if in case start(starting index) and end(ending index) of substring to be replaced in not known then there is no inbuilt method like replace(CharSequence target, CharSequence replacement) is present which can make the task easier like String.