Last active
November 21, 2017 08:19
-
-
Save lbargaoanu/6f14aba3a114dad898dfd4bc0c04eb3f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var source = @"C:\Users\lucian.bargaoanu\AppData\Local\Packages\Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe\LocalState\{3e013fe7-2abf-493f-9d14-8c96bd350762}.txt"; | |
var afterBackSlashIndex = source.LastIndexOf('\\') + 1; | |
var s = new StringBuilder(source) | |
.Remove(afterBackSlashIndex, source.Length - afterBackSlashIndex) | |
.Replace('\\', '/'); | |
s.ToString().Dump(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment