I'm using StringBuilder, instead of String, in my code in effort
to make the code time-efficient during all that parsing & concatenation.
But when i look into its source, the substring() method of
AbstractStringBuilder and thus StringBuilder is returning a String and not a StringBuilder.
What would be the idea behind this ?
Thanks.
subSequence(int start, int end). (P.S., why do you insist on using bold instead ofcodeformatting for code?)StringBuilderthat was returned fromsubstring()?