08-29-2022
01:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-29-2022
01:03 PM
what about this:
Dim input As String = "C:\Work\AAAAA\BBBB"
Dim folders = input.Split("\").Skip(2)
Dim newPath = String.Join("\", folders)
MsgBox(newPath)
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com