Change object variable to String
<p>I have do some <strong>split</strong> and when I test the data type by using <strong>typeof</strong> it said that It's a object</p>

<p>now I need it to become string or number data type and I try to use this</p>

<pre><code>String(data[0]);
</code></pre>

<p>but instead of get a hold word I get only a first character.</p>

<p>What's the correct way I should do in this case??</p>

<p>Please advise,</p>

<p>Thank in advance.</p>
