You should be able to substitute like below in 0021:
replace
readString.append(c);
with
readString += c;