webdav portal add owa put relative support

This commit is contained in:
vfedosevich 2015-02-05 05:32:29 -08:00
parent a6b57486bd
commit 2968fbb967
16 changed files with 199 additions and 20 deletions

View file

@ -0,0 +1,12 @@
namespace WebsitePanel.WebDav.Core.Extensions
{
public static class StringExtensions
{
public static string ReplaceLast(this string source, string target, string newValue)
{
int index = source.LastIndexOf(target);
string result = source.Remove(index, target.Length).Insert(index, newValue);
return result;
}
}
}