Get the value before a character

Hello everyone,

I am looking for the scaping method to get the value before a specific character.

For example:
I have the value “Test.Test@gmail.com” in the String Variable “E-Mail”.
I want only the value “Test.Test”.

How can I do that with the Assign-Activity?

Thanks in advance,
Dennis :slight_smile:

How about search?

Cheers

Hi @bibalesecret

Try with split expression

Split(“Test.Test@gmail.com","@")(0)

image

Regards
Gokul

1 Like

Look on the Assign activity @bibalesecret

image

Thank you.
That worked well for me!

Kind regards,
Dennis :slight_smile:

Thanks for the advice.
I will look closely next time I search ;).

Great @bibalesecret

Happy Automation

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.