I have this code:
String message = receiveMessage();
String[] reciv = message.split("|");
System.out.println("mess: " + message);
System.out.println("reciv: " + reciv[0]);
And this output:
mess: E|NAME
reciv:
I look some strange, E|NAME is E|NAME*space**space**space**space**space**space**space*...
I try to copy the "spaces" and I can't. I'm thinking the "spaces" no are "spaces".
Sorry for my bad English, I'm Spanish.