Hi Aiden,
In Mendix we have only substring function available,
but I understand you want to restrict email domain, you may explore Regular Expressions in Mendix. While implementing you have any doubt please refer this communication also E-Mail Regex in Microflow
Hope it helps!
Thanks & Regards,
Manikandan K
Hi Aidan,
try to use
substringAfter instead of substring-after
Aidan,
A few different ways you could test for one of the domains in your list:
contains($EmailAddress,'@ymail.com') or
endsWith($EmailAddress,'@ymail.com') or
substring($EmailAddress,find($EmailAddress,'@')) = 'ymail.com'
Maybe these will give you some ideas about how to test for specific email domains.
Mike