×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
0
Language: PHP
Posted by: Daniel Stainback
Added: Feb 9, 2016 6:25 PM
Views: 19
Tags: whitespace
  1. $string = preg_replace('/\s+/', '', $string);