Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

remove all spaces php

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