To give the question some context: I have a macro parameter that consists of a macro variable and free text.
For example, the macro variable, X, has a value of "A:abc,B:uvw" which is then concatenated with ",A:def,B:xyz" by a developer:
%let X = A:abc,B:uvw;
%macro...