mysterious (empty) character
<pre><code>    String[] parts = msg.split(" +\n?");

    String room = parts[0];
    System.out.println(msg);
    System.out.println("Laczenie do" + room + ", " + parts.length);
    for (String s : parts)
        System.out.println("-" + s + "-");
</code></pre>

<p>output:</p>

<pre><code>  main                                                               

Laczenie do, 2
 --
 -main-
</code></pre>

<p>What is this first char? How to cut it using regexp?</p>
