Hi @eladm. There are several ways to get the file system path String (text) without a specific sub-string at the start of it. What matters is which approach works best for your specific situation. Do you need to have a "\" symbol left at the start of the remaining text, or not? You may also want to check if the original String (file path) you have 'StartsWith' the specific text you are looking for, before simply removing 8 characters from the start of it. That way if the path does not start with that specific text, it will not be removed.
Here is a simple example of using the 'StartsWith' method.
Dim oWorkPath As String = "C:\Work\"
Dim oPath As String = "C:\Work\AAAAA\BBBB"
If oPath.StartsWith(oWorkPath) Then
oPath = oPath.Replace(oWorkPath, "")
End If
MsgBox("oPath = " & oPath,,"")
I realize that you still need to put this into a text note on your drawing, but lets get the path string part figured out in a way that suits your needs first.
Wesley Crihfield

(Not an Autodesk Employee)