Forum Discussion
andrew_bryant
May 23, 2019Brass Contributor
Extract domain from URL
Trying to get a step in a logic app that will extract a domain from a URL. I've been trying to find a way to do this with the data operations steps but no luck yet.
- May 27, 2019
I did something like this using a function
first(skip(split(body('Parse_JSON_3')?['id'], '/'), 4))first grabs the 1st from the arrayskip skips the number items in the arraysplit splits on deliminatoryou could do something like first(skip(split("string", '/'), 2))
GaryBushey
May 24, 2019Bronze Contributor
I think you would need to create an Azure function that does what you need to do and call that from your Logic App