opposite of append
<p>What would be the opposite of:</p>

<pre><code>savedPlanets.append(planet.getDisplayName()+",");
</code></pre>

<p>I have a list and I am adding the name of the planet every time the user clicks on a checkbox, I want to remove the name from the savedPlanets if the checkbox is cleared</p>
