Answers for "php remove space text"

PHP
7

remove space from string php

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

remove symbolsand spaces php

preg_replace('/[^A-Za-z0-9]/', "", $data)
Posted by: Guest on December-14-2020

Browse Popular Code Answers by Language