HI -
I have a situation where I receives an emailaddresse like 'abc@gmail.com;cbd@gmail.com' or 'abc@gmail.com,cbd@gmail.com'
I want to fetch only first email address (the one before ; or ,) like abc@gmail.com only.
I want to check first the string to see if there is any ; or , in the string and if it is then fetch the first email address only
how can i do that in vbscript ? any help would be appreciated?