oracle259 Posted September 25, 2006 Share Posted September 25, 2006 how do i eliminate whitespaces from a string for example$string = "c l u s t e r"; Quote Link to comment Share on other sites More sharing options...
trq Posted September 25, 2006 Share Posted September 25, 2006 [code=php:0]$string = str_replace(" ","",$string);[/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.