Originally posted by Unknown
You can do something like this:
Make sure to change the Highlighted Attribute "GroupMemberGuids" to whatever the attribute key is you are using. It needs to be changed both places you use a "Lava Run" action

Get First Item Lava
{% assign remainingItems = Workflow | Attribute:'YOUR_ATTRIBUTE_KEY','RawValue' | Split:',' %}{{ remainingItems[0] }}
Update Remaining Lava
{% assign remainingItems = Workflow | Attribute:'YOUR_ATTRIBUTE_KEY','RawValue' | Split:',' %}
{% assign firstItem = remainingItems | First %}
{% assign lastItem = remainingItems | Last %}
{% assign result = '' %}
{% for item in remainingItems %}
{% if item != firstItem %}
{% capture result %}{{ result }}{{ item }}{% if item != lastItem %},{% endif %}{% endcapture %}
{% endif %}
{% endfor %}
{{ result }}