Answers for "php replace all spaces inside a string"

PHP
0

remove every whitespace php

$string = preg_replace('/\s+/', '', $string);
Posted by: Guest on May-29-2020

Code answers related to "php replace all spaces inside a string"

Browse Popular Code Answers by Language