title: Want to save objects with specfic chars only removing the chars which is not found in char list
body: <p>Trying to save the object with the available chars only!</p>
  
  <pre><code> string name = "&lt;Matias&gt;&lt;Andres&gt;";
   char[] list = {'m', 'a', 't', 'i', 's', 'n', 'd', 'r', 'e'};
  
   databaseObject objects = new databaseObject();
   objects.set("name", ???);
  </code></pre>
  
  <p>For example i dont have &lt; and > in chars so i dont want that in output.
  so that the output would look like matias andres</p>