I am having a problem in gettin this regex statemnent to work.if (a.FullPath.StartsWith("Q:")) monitoringpath = "\\\\eldorado\sasknowledge\\Programs\\Data Distribution\\CollectionPoint"; FullPath2 = Regex.Replace(a.FullPath, "Q:", ""); FullPath2 = monitoringpath + FullPath2;The a.FullPath variable contains: Q:\1111_drop1.TXTThe end result is:\\eldorado\sasknowledge\Programs\Data Distribution\CollectionPointQ:\1111_drop1.TXTI expect the Q: in the .FullPath to be removed but it isn't happening. Any ideas why this is happening?Thanks,
↧