Message 1 of 3
Field to use first 2 characters of layout name but drop leading zero if present
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So I am trying to get a two value field to populate on to my title block. I am currently looking to pull those numbers from the frist two charcaters of my layout tab, and then drop the leading zero if present.
My tabs could currently be named as such = and my end result I am look for would be:
01A-TB = 1
12B-PROP = 12
09N = 9
12B-TEM = 12
I can currently get the first two characters by using this DieselExpression
$(substr,$(getvar, "CTAB"),1, 2)
Now is there any way to have that expression drop the leading zero?