Hi there,
I have a task where I have to get the first letter from the name and the two first letters from the family name from an email.
I have two mail formats:
john.doe@gmail.com → JDO
john.doe-doe@gmail.com → JDD
How can I achieve this, I assume I have to use an IF activity to check the format and then a Substring but don’t know the real code to write for it ?