Java char to string. Remove null from char array java. remove from char array '\u0000'.