The following forum(s) have migrated to Microsoft Q&A: All English SharePoint forums! Visit Microsoft Q&A to post new questions.
Hi,
In Textbox field i used "sharepointsiteurl" in formula,so i want to get only Title,how to trim the url to get Title
eg:- http://servername/test/test1
Here in Textbox i wanted to show "test1"
How can i do this
Thank You
Since the site title is part of the site collection, you can use several functions to generate the title as shown:
translate(substring-after(SharePointSiteCollectionUrl(), SharePointSiteUrl()), "/", "")
The substring-after() will give you /test1 and then the translate() removes the slash.