I a trying to use an http request to send emails to a group but I can't figure out how to remove the extra comma on the end. Here's how I created it.
I grab the users from the group and Parse the JSON. The d.results looks like this @{body('Send_an_HTTP_request_to_SharePoint_3')?['d']?['results']}

I then loop through the body and grab the appended emails and store it in the varGovEmail

I then use it in my email

but I get an error because of the last ",".

How can I remove that last comma? Thanks!