title: clearing objects from localstorage
body: <p>with localstorage i have a load of unspecified items saved with dynamic names using a data namespace like so:</p>
  
  <pre><code>localStorage["myAppName.settings.whatever"] = something.whatever; 
  
  //and this:
  localStorage["myAppName.data."+dynObj.name] = dynObj.data;
  </code></pre>
  
  <p>I want to keep the settings but not the data. However I won't ever know what all of the names inside of my data object are so I cannot clear them individually. I need to clear these each time my app is loaded but I must keep the settings so 
  <code>localstorage.clear()</code> is not an option.</p>
  
  <p>I have tried:</p>
  
  <pre><code>localstorage.removeItem("myAppName.data")
  </code></pre>
  
  <p>but no dice.</p>
  
  <p>Anyone have any thoughts on how to clear dynamically named portions of localstorage?</p>