Results 1 to 4 of 4
  1. #1
    Join Date
    May 2004
    Posts
    28

    Unanswered: spaces in strings

    How to you get rid of spaces in a string. For example:

    $string = "perl is good"

    how do i make $string = "perlisgood"?

  2. #2
    Join Date
    Jun 2004
    Location
    Nowhere Near You
    Posts
    89
    perhaps ...

    s/ //g

  3. #3
    Join Date
    May 2004
    Posts
    28
    thanx, that worked

  4. #4
    Join Date
    Oct 2003
    Posts
    63

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •