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

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.

EESignature


Blog: hjalte.nl - github.com