You can use regular expressions to remove this:
Regex.Replace(strEmail, "@\.+", "")
Alternatively, you look in the email string for the "@", and use the left to get everything else:
strEmail = left(strEmail, Instr(strEmail, "@") - 1)
You got some options.
|