note 20513 added to function.str-replace

From: Date: Sat, 06 Apr 2002 03:27:22 +0000
Subject: note 20513 added to function.str-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-28688@lists.php.net to get a copy of this message
There’re strip_tags(), stripslashes and stripcslashes – why not a stripspaces() function too? Here it is. function stripspaces($tex) { return(str_replace(" ","",$tex)); } -- http://www.php.net/manual/en/function.str-replace.php http://master.php.net/manage/user-notes.php?action=edit+20513 http://master.php.net/manage/user-notes.php?action=delete+20513 http://master.php.net/manage/user-notes.php?action=reject+20513

« previous php.notes (#28688) next »