Merge attributes

My notes have three attributes (A1, A2, A3) which are all text strings. I want to merge them into a list attribute. What’s the simplest way to do it? Please.

$MyList=$A1 + $A2 + $A3;

Here, if A1 contained “Brabant”, A2 contained “The Hague”, and A3 contained “Amsterdam”, the result would be “Brabant;The Hague;Amsterdam”.

Another thing to consider. If you want to dedupe the lists then you’d want to do this:

$MySet=$A1+$A2+$A3; as sets dedupe lists.