I tried to append a long String (length of 3000) with java StringBuilder and found out that the appended result is not what I expected.
A.append(B) should be AB
A.append(LongString) becomes A________________(empty spaces)
Any idea?
My code: http://pastebin.com/5CPmHFeS