title: Length of string in bash
body: <p>How do you get the length of a string stored in a variable and assign that to another variable?</p>
  
  <pre><code>myvar="some string"
  echo ${#myvar}  
  # 11
  </code></pre>
  
  <p>How do you set another variable to the output <code>11</code>?</p>