Answers for "remove space and new line in string in php"

PHP
7

remove space from string php

<?php
$stripped = str_replace(' ', '', "10 1000 0000 000");
echo $stripped;
Posted by: Guest on March-12-2020

Code answers related to "remove space and new line in string in php"

Browse Popular Code Answers by Language