Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

remove all spaces php

$string = "this is my     string";
$string = preg_replace('/s+/', '', $string);
 
PREVIOUS NEXT
Tagged: #remove #spaces #php
ADD COMMENT
Topic
Name
9+9 =