Skip to main content

I am pretty new to using expression builder in my freshservice workflows.

I have a freshservice form which has a field ‘email id’.

The expected input to that field is of the format firstname.lastname@xxx

I want to extract the part which is before the @. So firstname.lastname in this case is what i intend to extract and use later in my workflow.

 

Hi.

You could use the following for that:

substring('{{yourfield}}',0,indexOf({{yourfield}},'@',0))

 

Hope this helps.


Regards,


It works. Thanks for the quick help.


Reply