SPUtility.GetUrlFileName method
SharePoint 2013
Returns the filename part of the URL.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- url
- Type: System.String
The URL path.
Returns the filename part of the URL.