title: How to get size of String array
body: <p>I create a string array in "Arduino" like this:</p>
  
  <pre><code>String commandList[] = {"dooropen", "doorlock"}; 
  </code></pre>
  
  <p>And in my code I want to know size of this array and I don't want define size of this array like bottom code:</p>
  
  <pre><code>#define commandListArraySize 2
  </code></pre>
  
  <p>I try to get size of this variable like this:</p>
  
  <pre><code>int size = sizeof(commandList);
  </code></pre>
  
  <p>But the returned <code>size</code> = <code>12</code>.</p>