Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleFirst, isolate the email providers domain names

Using String:split(), we can split the email on “@“ and get the domain name.

Code Block
languagelua
local email = patient.contact.email
local domain = email:split("@")[2]
trace(domain)

...