Possible to Loop items in Repeating Group into a Custom State?

I have a simle repeating group with a few rows in it (let’s say 3), each with only 1 column.

It basically looks like this:

ITEM A
ITEM B
ITEM C

My goal is to convert these items into a piece of text on one line that looks like this:
“ITEM A, ITEM B, ITEM C”

Then save it to a custom state.

Is there a quick and easy way to do this on the fly so when the contents of the repeating group change, a new line item gets saved to the Custom State?

Thanks,
Dan

Well, never fails that when I post a question I end up figuring out the answer on my own not soon afterward.

The answer was super simple and fast… List Shifter plugin.