Im new to programming Lisp.
Basically what i want todo is, add an field in Mtext that shows part of the directory name as a job number. But not the whole directory name. Example
G:\745 The name of the Project\74534\drawings
The above is the full directory name, what i want in the mtext field is 74534 not the rest of the folder name.
G:\745 The name of the project <--- this part of the directory name varies in length.
I do have this right now
$(substr,$(getvar,DWGPREFIX),8,5)
but the problem with this is that my prefix is at a set number of charactors. Our new folder layout varies now.
\74534\drawings <--this part of the directory is fixed charactor length
I did find this thread http://forums.augi.com/showthread.ph...der-name/page2
But im having trouble trying to get them to work.
I could use a quick step by step
Any help would be great.