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