1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to remove "_" and change "1B" to "1 B" in a verb?

Discussion in 'PHP & Perl' started by [RusTy], Sep 12, 2009.

  1. [RusTy]

    [RusTy] Junior Member

    Joined:
    May 10, 2009
    Messages:
    112
    Likes Received:
    2
    lets say
    $file="2009Test_Results.jpg"

    Which command need to be to replace all "_" with " " and
    separate numbers from letters?

    so it will be "2009 Test Results.jpg"


    Thanks a lot for helpers!
    :)
     
  2. [RusTy]

    [RusTy] Junior Member

    Joined:
    May 10, 2009
    Messages:
    112
    Likes Received:
    2
    solved. found with a little research on google.
    sorry for being lazy ;p