title: How to change spaces to underscore and make string case insensitive?
body: <p>I have following question. In my app there is a listview. I get itemname from listview and transfer it to the webview as a string. How to ignore case of this string and change spaces to underscores?</p>
  
  <p>For example: <code>String itemname = "First Topic"</code>. I transfer it to the next activity and want to ignore case and change space to underscore (I want to get <code>first_topic</code> in result).
  I get "itemname" in webviewactivity and want to do what I've described for following code:</p>
  
  <pre><code>String filename = bundle.getString("itemname") + ".html";
  </code></pre>
  
  <p>Please, help.</p>