I have a diesel expression that is retrieving the first 5 characters of the file name. I do not want to change the file name, I would like to add a dash between the first and second characters of the file name within the diesel expression.
example file name TXXXX ABCDEF.dwg. I am trying to get the displayed text to be T-XXXX.
Solved! Go to Solution.
Solved by hmsilva. Go to Solution.
Try
$(substr, $(getvar, dwgname), 2, 1,)-$(substr, $(getvar, dwgname), 3, 4,)
Hope this helps,
Henrique
@chris.slattery wrote:
Thanks hmsilva, this is what I was looking for.
You're welcome, @chris.slattery
Glad I could help
Henrique
Can't find what you're looking for? Ask the community or share your knowledge.