using System;
public class Test
{
public static void Main()
{
string caminho = "C:\\anacarvalho\\Database\\Updates\\2017\\2017_04\\20170419_AC";
string raiz = "C:\\anacarvalho\\Database\\Updates";
if(caminho.IndexOf(raiz,StringComparison.OrdinalIgnoreCase) != -1)
{
Console.WriteLine("UAU");
}
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCXN0cmluZyBjYW1pbmhvID0gIkM6XFxhbmFjYXJ2YWxob1xcRGF0YWJhc2VcXFVwZGF0ZXNcXDIwMTdcXDIwMTdfMDRcXDIwMTcwNDE5X0FDIjsKCQlzdHJpbmcgcmFpeiA9ICJDOlxcYW5hY2FydmFsaG9cXERhdGFiYXNlXFxVcGRhdGVzIjsKCQlpZihjYW1pbmhvLkluZGV4T2YocmFpeixTdHJpbmdDb21wYXJpc29uLk9yZGluYWxJZ25vcmVDYXNlKSAhPSAtMSkKCQl7CgkJICAgIENvbnNvbGUuV3JpdGVMaW5lKCJVQVUiKTsKCQl9Cgl9Cn0=