How to extract strings
<p>I'm new to Java programming. I want to write simple Java network protocol.
I want to send this string to remote Java host, for example:</p>

<pre><code>230 computer delete reboot exit
</code></pre>

<p>The problem that I cannot resolve is how I can extract the strings one by one and put it into array? And the biggest mystery to me is how I do this if I have strings with different length?
Thank you for your help!  </p>

<p>PS: Can I send directly entire array not just simple strings?</p>

<p>PS 2: What if I have Java server and C client? As far as know only strings can be used to exchange data between both sides?</p>
