Just a public reminder to self that the function for locating (getting the position of) a substring within another string is named $StrStr(). Parameters, in order:
- String to search in / haystack. Commonly the name of a field, like %title%.
- Substring to search for / needle. Text is literal, not quote-enclosed.
When adjusting the position result to the right (add an integer) or left (subtract an integer), the expression should be enclosed in parens, like ($strstr(%title%, -)+2)
In this case, the hyphen was a separator between title and artist stored together in the %title% field. The action was supposed to copy to artist value from the %title% field to the %artist% field, by selecting the portion after the Space+Hyphen+Space. Didn't actually get it to work, so some of this post might be bogus.