Extracting filename to field for titleblock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I am looking for a way to extract a portion of the full filename of my drawings to a field for my titleblock on drawings. I can use DIESEL to extract part of it but am trying to figure out how to extract a portion of the filename UP TO BUT NOT INCLUDING the first space in the name. Example file names are as follows:
LUIB_A-101 FIRST FLOOR PLAN
LUIB_S-101A STRUCTURAL FLOOR PLAN AREA 1
What I want to extract is the bold/italic portion of the file name, but this portion is not consistent in length. I am not sure how to accomplish this and would love some guidance on this issue. If they were the same length every time a simple DIESEL expression would work well, but the change in total characters is throwing me for a loop.
Thanks in advance.