08-29-2022
06:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-29-2022
06:26 AM
You mean like this?
Dim str As String = "C:\Work\AAAAA\BBBB" Dim index As Integer = str.IndexOf("\", str.IndexOf("\") + 1) Dim result As String = Right(str, Len(str)- index) MsgBox(result)