splitting a single value
<p>I have:</p>

<pre><code>&lt;td data-X="1,2"&gt;
</code></pre>

<p>and when I do:</p>

<pre><code>var Y = $('td').data('X');
Z=Y.split();
</code></pre>

<p>it works.</p>

<p>But if I have:</p>

<pre><code>&lt;td data-X="1"&gt;
</code></pre>

<p>then it doesn't work.
At least I think that's what's happening.  I'm getting "Y.split is not a function", but only sometimes.</p>
