#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    2
    Rep Power
    0

    Help needed with removing spaces


    I'm working on a simple tool that pulls product information from my company's website. The scans the web page and if it finds the word "PROD" it will return all product identities (which are in the form 'PROD XXX XXX')

    I have this much working, but I need to remove the spaces so that I end up with PRODXXXXXX.

    Anyone able to help me with this?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Apr 2009
    Posts
    1,875
    Rep Power
    1225
    Code:
    $prod_id =~ s/\s//g;

IMN logo majestic logo threadwatch logo seochat tools logo