Hi @tom_riha ,
Thank you for your response.
My apologies, I didn't know that the post was deleted. Here's my question.
I have a requirement to search for a SharePoint group whose title looks like this - '123456 Section' where '123456' is the site ID and the site URL looks something like this -
https://abc.sharepoint.com/sites/appname/123456.
I need the last part of the above URL i.e. 123456. I tried using
Last(Split("url", "/")).Result but it didn't work.
Also, once I have the ID, I need to concat/append it to 'Section' so that the group title reads '123456 Section' to filter the results from _api/web/sitegroups. . Please let me know how to accomplish this?
Any help is greatly appreciated. Thank you so much in advance.