The AUrlHelper is a Nuget Package for getting file name or folder name from the url when you work with cloud storages like S3, Dropbox, GoogleDrive or Azure Blob Storage.
using AUrlHelper;
var path = "https://test.com/assets/images/test.png"
AUrlHelper.GetFolderName(path);
// return "images"
or
var path = "https://test.com/assets/images/test.png"
path.GetFolderName(path);
//return "images"
var path = "https://test.com/assets/images/test.png"
AUrlHelper.GetFileName(path);
// return "test.png"
or
var path = "https://test.com/assets/images/test.png"
path.GetFileName(path);
//return "test.png"
var path = "https://test.com/assets/images/test.png"
AUrlHelper.GetFileNameWithoutExtension(path);
// return "test"
or
var path = "https://test.com/assets/images/test.png"
path.GetFileNameWithoutExtension(path);
//return "test"