My flow is grabbing the work days for each user in a SPO List.
For each workday, I add it to a variable like this.
Sun,Mon,Tues,Weds
When I add it to the variable, I am using a comma at the end.
So when it gets posted to the SPO list, it actually looks like this: Sun,Mon,Tues,Weds,
I am trying to remove the last comma, but it is not working.
Towards the end of my flow before I update the SPO item, I have a compose that is supposed to remove that last character.
I am using the same compose for another variable, and it is working fine.
substring(variables('vAssignmentDay'), 0, sub(length(variables('vAssignmentDay')), 1))
Any idea why it is not removing that last trailing comma?