Skip to content

denis-goncharenko/AUrlHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AUrlHelper CircleCI

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.

Usages

Add Using

    using AUrlHelper;

Examples

Get Folder Name

    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"

Get File Name

     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"

Get File Name Without Extension

     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"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages