I want to display the filename in a menu pulldown using DIESEL. I do not want to display the file extension:
Building.dwg
I want to display:
Building
I'm using the following to display the filename in the menu:
[$(eval,$(getvar,dwgname))]
I can't figure out how to strip the last four characters off. SUBSTR displays an error:
[$(eval,$(-,$(substr,$(getvar,dwgname)),4))]
Displays:$(-,??))
Any ideas?