Message 1 of 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Just got into diesel expressions and I need help simplifying.
Please simplify:
$(substr,$(getvar,ctab),$(-,$(strlen,$(getvar,ctab)),4),3,2)$(substr,$(getvar,ctab),$(-,$(strlen,$(getvar,ctab)),1),2)
I'm extracting paperspace tab names and including them in my template, it's working exactly the way I want it to, taking the last five characters from the tab name. I believe it can be simplified. Let me know if I'm wrong. Feel free to point out anything that doesn't make sense or isn't needed in the expression, thanks.
Solved! Go to Solution.