Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
TechInventor20
in reply to: eladm

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)