Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

remove spaces from string php

<?php
$phone = preg_replace( '/s+/', '', "01234 567890" );
echo $phone;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #spaces #string #php
ADD COMMENT
Topic
Name
4+4 =