Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock CheckMail(const string[])
- {
- if(!(8 <= strlen(string) <= 128))
- return false;
- new pos = strfind(string, "@", true);
- if(pos > 0 && strfind(string, ".", true, pos + 1) > pos + 1)
- return true;
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement