Hi,
I was having trouble extracting a sentence from a string.
What I have is a Music title of a number and song name. I want to extract the song name without the artist and .MP3 after the number.
I have this example:
D4-001 Scary Monsters and Nice Sprites - Skrillex.Mp3
D4-002 D4-003 Bad Romance - Lady GaGa.Mp3
D4-003 Club Rocker - Inna & Flo Rida.mp3
D4-004 Hangover (Original Mix) - FloRida Ft. Taio Cruz.mp3
D4-004a Hangover - FloRida Ft. Taio Cruz.mp3
D4-005 Not Giving Up On Love - Armin Van Buuren & Sophie Bextor.mp3
D4-006 Out Of My Mind (Original Mix) - Bingo Players.mp3
D4-007 She Wolf (Falling To Pieces) - David Guetta Ft. Sia.mp3
D4-007a She Wolf Koaz Ft. Mb Mashup) - David Guetta Ft. Sia.mp3
D4-0008 Papi - Jennifer Lopez.mp3
I want to extract this:
Scary Monsters and Nice Sprites
Bad Romance
Club Rocker
Hangover (Original Mix)
Hangover
Not Giving Up On Love
Out Of My Mind (Original Mix)
She Wolf (Falling To Pieces)
She Wolf (Koaz Ft. Mb Mashup)
Papi
I tried the mid function
Trim(Mid([FullDescription],InStr(1,[FullDescription]," ")+1,InStr(InStr(1,[FullDescription]," ")+1,[FullDescription],"-")-InStr(1,[FullDescription]," ")))
Ut still has the space and - after the song name.
But I can't figure out how to remove the space and -.
Thanks
BBryan
I was having trouble extracting a sentence from a string.
What I have is a Music title of a number and song name. I want to extract the song name without the artist and .MP3 after the number.
I have this example:
D4-001 Scary Monsters and Nice Sprites - Skrillex.Mp3
D4-002 D4-003 Bad Romance - Lady GaGa.Mp3
D4-003 Club Rocker - Inna & Flo Rida.mp3
D4-004 Hangover (Original Mix) - FloRida Ft. Taio Cruz.mp3
D4-004a Hangover - FloRida Ft. Taio Cruz.mp3
D4-005 Not Giving Up On Love - Armin Van Buuren & Sophie Bextor.mp3
D4-006 Out Of My Mind (Original Mix) - Bingo Players.mp3
D4-007 She Wolf (Falling To Pieces) - David Guetta Ft. Sia.mp3
D4-007a She Wolf Koaz Ft. Mb Mashup) - David Guetta Ft. Sia.mp3
D4-0008 Papi - Jennifer Lopez.mp3
I want to extract this:
Scary Monsters and Nice Sprites
Bad Romance
Club Rocker
Hangover (Original Mix)
Hangover
Not Giving Up On Love
Out Of My Mind (Original Mix)
She Wolf (Falling To Pieces)
She Wolf (Koaz Ft. Mb Mashup)
Papi
I tried the mid function
Trim(Mid([FullDescription],InStr(1,[FullDescription]," ")+1,InStr(InStr(1,[FullDescription]," ")+1,[FullDescription],"-")-InStr(1,[FullDescription]," ")))
Ut still has the space and - after the song name.
But I can't figure out how to remove the space and -.
Thanks
BBryan