
Announcements
Hi
I have an action that creates a folder based on title name. I noticed if title ends with . then in action create folder i get 502 badgateway error.
Can you help me to create this logic.
before creating folder i want to check if title ends with dot if it ends with dot i want to take all characters up to dot and then create that folder based on the title till dot
Hi @jja,
To take all characters up to dot is complicated, how about use replace() function to remove dot if title ends with ".":
If it isn't you want, you could refer to this structure, sub end of the title until it doesn't end with a dot:
substring(variables('Title'),0,add(length(variables('Title')),-1))
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.