title: How do I declare a new string the same length of a known const string?
body: <p>I've been using:</p>
  
  <pre><code>string letters = THESAMELENGTH; // Assign for allocation purposes.
  </code></pre>
  
  <p>Reason being, if I:</p>
  
  <pre><code>string letters[THESAMELENGTH.length()];
  </code></pre>
  
  <p>I get a non constant expression complaint.</p>
  
  <p>But if I:</p>
  
  <pre><code>string letters[12];
  </code></pre>
  
  <p>I'm at risk of needing to change every instance if the guide const string changes size.</p>
  
  <p>But it seems foolish to assign a string when I won't use those entries, I only want my newly assigned string to be the same length as the previously assigned const string, then fill with different values.</p>
  
  <p>How do you recommend I do this gracefully and safely?</p>