Retrieve LeafOutput operational
This commit is contained in:
@@ -45,5 +45,10 @@ namespace LeafWeb.Core.Utility
|
||||
{
|
||||
return Regex.Replace(input, @"[^\w_]", "");
|
||||
}
|
||||
|
||||
public static string FilenameFromPath(this string path)
|
||||
{
|
||||
return Regex.Replace(path, @".*/([^/]*$)", "$1");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user