Would it be possible to amend one or both existing $TagContains functions to accept a partial/exact parameter? This would allow users to find exact-string matches instead of only partial-string matches.
As a simplified example of what I mean, the current behavior is for $TagContainsAnyString(<URL>,Genre,Pop|Rock) to return T for the exact matches of Pop and Rock in the Genre tag. It also returns T for partial matches like Synthpop, Hard Rock, etc.
but how "exact strings" must be separated? what can be delimiter? only spaces? semicolons? Something else?
I don't know how difficult making these changes would be, so I have 2 ideas for how to resolve this. Both ideas would provide the "exact matches" I'm looking for, but one of these might be easier to code or more stable than the other.
Idea 1: Update the existing function.
Maybe exact matches could use quotes within the existing format. Adjusting my prior example: $TagContainsAnyString(<URL>,Genre,"Pop"|Rock) would return T for an exact match of Pop (quotes = exact match) and partial matches for Rock (no quotes = partial match, current behavior).
Idea 2: Create a new function.
Maybe the function could be cloned to create something like $Tag
MatchesAnyString. The new Matches variation could then be coded to ONLY return exact matches, while the existing Contains variation would continue to return partial matches.