Jump to content


Photo

How do i eliminate whitespace


  • Please log in to reply
1 reply to this topic

#1 oracle259

oracle259
  • Members
  • PipPipPip
  • Advanced Member
  • 119 posts

Posted 25 September 2006 - 10:23 PM

how do i eliminate whitespaces from a string for example


$string = "c l u s t e r";


#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 25 September 2006 - 10:28 PM

$string = str_replace(" ","",$string);





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users