title: How to get rid of string elements in php?
body: <p>Customer id literal has customer_id+Domain_details, eg.: <code>998787+nl</code> and now I just want to have <code>998787</code> and not <code>+nl</code>, how can this be acheived this in php</p>
  
  <p>Question:</p>
  
  <p>I have number like <code>9843324+nl</code> and now I want to get rid of all elements including <code>+</code> and afterwards at the end and only have <code>9843324</code> and so how should I do this in php ?</p>
  
  <p>Right now I am having <code>$o_household-&gt;getInternalId</code> returns me  <code>9843324+nl</code> but I want 9843324, how can I achieve this ?</p>
  
  <p>Thanks. </p>
  
  <p>Thanks. </p>
  
  <p><strong>Update</strong> : </p>
  
  <pre><code>    list($customer_id) = explode('+',$o_household-&gt;getInternalId());
  </code></pre>
  
  <p>Will this solve my problem ?</p>