Hi, I am working on my own naming script and have hit a bit of a stumbling block. I want to take the conductor name in my classical music and write it out as part of the folder name using only the last name, so for example “Herbert von Karajan” would give just “Karajan”. No matter what I try I can’t seem to make this part work and am hoping someone may be able to provide the answer to this problem. The best I’ve managed so far is to get the first name only “Hebert” by using this bit of script:
> $set(_namespace, ) > $set(aConductor:Surname,%conductor%) > $set(aConductor:Surname,$rsearch(%aConductor:Surname%,[^%_namespace%]+%_namespace%))
Any help would be much appreciated. Please ignore the variable names as they are purely temporary until I get this doing what I want after which they’ll get replaced.