I have string like this:
$str = "old iccid : 809831 3245 345 new iccid : 999000 112221"
How to remove the space character between number character in PHP, to become this output?
$output = "old iccid : 8098313245345 new iccid : 999000112221";
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve got the answer from xdazz (http://stackoverflow.com/users/762073/xdazz), this syntax works well.