title: To find the length of a split string in JAVASCRIPT
body: <p>I have split a string into an array in JAVASCRIPT using the split() method and now I want to find the length of that array. But I couldn't. Each time that I ask for the length, the answer is always 1.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var name = "AlanTuring";
  var splitName =[];
  splitName.push(name.split(""));
  var length =splitName.length;
  console.log(length);</code></pre>
  </div>
  </div>
  </p>