public static void Main()
Console.WriteLine("Hello World");
string urlLoc = "http://edr1cmm01s109/Attachments/";
string url1 = @"\\pbgfile01.fs.local\Maximo\DOCLINKS\Attachments\AlpineWOattachment1.docx";
string url2 = @"\\pbgfile01.fs.local\Maximo\DOCLINKS\Attachments\AlpineWOattachment2.docx";
string url3 = @"thestringhasa\slash";
if(url1.Contains("\\Attachments"))
Console.WriteLine("YES");
var test1 = urlLoc + Path.GetFileName(url1);
Console.WriteLine(test1);
string address = "xyz@yahoo.com";
string host = address.Split('@')[0];
Console.WriteLine("host");