Monday, January 26, 2015

.Replace("\\\\", "!").Replace("\\", "").Replace("!", "\\\\");

...is my hacky C# magic for trimming the escapes out of a string while leaving the backslashes in file path names.

No comments:

Post a Comment