Lets say I have a variable: varEmail. It contains a variable equal to the user’s email address, so it might contain a value like:
“myemail@emailserver.com”
Now, lets say I want to get just a portion of the email address, e.g. strip off the domain, like so:
“myemail”
How can I accomplish this in VB.NET with string manipulation? I know this must be simple…maybe it is just early in the morning…
The first one gives the email name; the second gives the domain name.