If you have a string eg:
$val = "John Doe";
how do you get rid of the white space in the middle thereby making it one word, trim removes spaces from the ends I want to join the two words.

    oh wow..thanks alot LB I have been wanting to know something like this as well..

      Write a Reply...