Results 1 to 2 of 2

Thread: Parsing Winamp Titles...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    31

    Unhappy

    Could someone please show me how I might be able to properly turn something like
    "101. Artist - Song Name (On Crack Remix) - Winamp"
    into just
    "Artist - Song Name (On Crack Remix)"? I've had a few shots at this but I keep ending up with screwed up results if there's a "." in the song title, or a couple "-"'s or something... Thanks very much!

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Just look for the first . in the title and check if the Characters Left from the dot are Numbers (IsNummeric) Then check from the right to left for the first - Then if the Characters Right from the - is Winamp remove that part.

    Hope this helped,
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

Posting Permissions

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



Click Here to Expand Forum to Full Width