I can find posts for moving text from one field to another but wish to have a field modified as such...
If a dash exists within the TITLE, (preceding or trailing SPACES are not concerned.... yet) the text after the dash is placed within parenthesis, trimmed of spaces is ideal but OK if spaces stay in as I have another script for that.
Example.
TITLE= "Thong Song - Vunzige Deuntjes Soundsystem Remix"
changes to
TITLE = Thong Song (Vunzige Deuntjes Soundsystem Remix)
I use a similar thing to remove all text after a dash.
I've tried a few variations but I can't get my text to paste back into my title.
I have found a "brute force" or "as selected only" version but it would be nice if i can do the same Conditionally.
Here's my current solution...
As you can see, it just adds a bracket/parenthesis to the end in the first step, then does a simple replace of SPACE/DASH/SPACE with SPACE/parenthesis.
The condition would be...
IF %title% contains "^-^ ", ! ^ is in place of SPACE
THEN
DO
add ")" to the end of %title%
change "^-^ " to "^(" ! ^ is in place of SPACE
ELSE
DO nothing.