Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

remove spaces from string php

<?php
$phone = preg_replace( '/s+/', '', "01234 567890" );
echo $phone;
 
PREVIOUS NEXT
Tagged: #remove #spaces #string #php
ADD COMMENT
Topic
Name
2+3 =