Being a Newbie I hope somebody can help.
I have a file attached to an email.
It's name being AA_1234567_BBBBBB_CCCCCCC.pdf
I'd like the subject matter to be 1234567
How do I truncate [Job.Name] ??
Thanks for any help
Trucating a job name to use in email subject
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Trucating a job name to use in email subject
There are multiple ways depending on if the file name parts do or do not change length. Index, segment or regular expressions
Trucating a job name to use in email subject
Hi. Thanks for the response. The part before the first "_" does not change. Also the 1234567 does not change length. Therefore I'd be looking to somehow truncate from the beginning.
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Trucating a job name to use in email subject
In variables window select Job->NameProper and use segment "4-10"
Trucating a job name to use in email subject
Thanks. I'll give that a go.