Update TextViewEx.java

Add a trim for blocks[i] to avoid substring consider spaces and repeat character in next line.