Hello,
I am extracting certain items from an email that comes into FreshService with this experssion:
substring('{{ticket.description | strip_html}}', indexOf('{{ticket.description | strip_html}}', 'Department:',0)+length('Department:'), indexOf('{{ticket.description | strip_html}}', 'Division:', indexOf('{{ticket.description | strip_html}}', 'Department:',0)) )
It is all working as intended - however, the output gives spaces at the end, in the form of:
Delivery
Does anyone have any insight into how to remove the   from the result?