title: Jython How to remove characters a string
body: <p>This is a WebSphere related question.</p>
  
  <p>I am trying to turn this command into variables</p>
  
  <pre><code>AdminConfig.modify('(cells/taspmociias204Cell01/clusters/cam_group|resources.xml#J2EEResourceProperty_1324400045826)'
  </code></pre>
  
  <p>I've found that this command:</p>
  
  <pre><code>AdminConfig.list('J2EEResourceProperty', 'URL*cam_group*)').splitlines()
  </code></pre>
  
  <p>Will return:</p>
  
  <pre><code>['URL(cells/taspmociias204Cell01/clusters/cam_group|resources.xml#J2EEResourceProperty_1324400045826)', 'URL(cells/taspmociias204Cell01/clusters/cam_group|resources.xml#J2EEResourceProperty_1355156316906)']
  </code></pre>
  
  <p>So I turned that command into a variable:</p>
  
  <pre><code>j2ee = AdminConfig.list('J2EEResourceProperty', 'URL*cam_group*)').splitlines()
  </code></pre>
  
  <p>And i'm able to get the string that I want by typing "j2ee[0]" I get</p>
  
  <pre><code>'URL(cells/taspmociias204Cell01/clusters/cam_group|resources.xml#J2EEResourceProperty_1324400045826)'
  </code></pre>
  
  <p>So that is exactly what I wanted, minus the URL part in the front. How can I get rid of those characters?!</p>