Message 1 of 4
Diesel Expression to Display Part of File Path in a Field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, Is there a way to have a field display only a portion of the file path? A saw a similar post but referring to file name only, here: https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/diesel-expression-to-display-part-of...
I'm looking for something similar but with file path. The first part of the path that I don't want to show looks like this : X: \XXXXXX\## XXX\XXXXXXX\
everything after that I want to show, including the file name.
Is it possible to write something that states that everything before the 4th backslash should be ignored and everything else is shown?