Hello everyone, I couldn't find anything about this topic in the forums so sorry if this is a double post. Looking for an optimization hint to improve my scripting skills..
I want to cut my %composer% field to cut all first names and the birth/death year and then write only the last name in the filename.
%composer% = Dr. Fanny Dammy-Joanne Sammy-Mendelssohn (1805-1847)
Resulting Filename = Sammy-Mendelssohn
I created a script that is really long (but working):
$cutleft($regexp(%composer%, (.),),$strrchr($regexp(%composer%, (.),), ))
(Of course, my script is only working if the last name has no spaces in it.)
Is there an EASIER way to do this?