Page 1 of 1
Trucating a job name to use in email subject
Posted: Thu Aug 14, 2014 4:53 pm
by abonsey
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
Posted: Thu Aug 14, 2014 9:19 pm
by dkelly
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
Posted: Thu Aug 14, 2014 9:55 pm
by abonsey
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.
Trucating a job name to use in email subject
Posted: Thu Aug 14, 2014 10:16 pm
by dkelly
In variables window select Job->NameProper and use segment "4-10"
Trucating a job name to use in email subject
Posted: Thu Aug 14, 2014 10:35 pm
by abonsey
Thanks. I'll give that a go.