Action to merge three tags into one and separate them again

I am trying to create two actions:

1. An action to take the content of 3 specified tags and have the values merged into a single comma and space separated string.

For example:

Tag1 = ABC
Tag2 = xyz
Tag3 = 123

NewTag = ABC, xyz, 123 

2. An action to reverse this process by reading the NewTag and separating the string back into its constituent values (it will always be the same 3 tags).

Example:

NewTag contains =  789, JKL, 456

789 copied to Tag1
JKL copied to Tag2
456 copied Tag3

(the comma and space should be omitted when writing back to the individual tags).

Can anyone show me how to do this please?

Thanks.

Create an action of the type "Format value" for the field NEWTAG
Format string: %tag1%, %tag2%, %tag3%

Create an action of the type "Guess value"
Source: %newtag%
Target pattern: %tag1%, %tag2%, %tag3%
(This only works, if the comma is really the unique separator.)

1 Like

Thank you for the easy to follow clear instructions.

These both work perfectly!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.