Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sName is string
- sNameLength is int
- sDomain is string
- sDomainLength is int
- //check if has valid format
- emailComponents is array of strings = StringSplit(email,"@")
- IF emailComponents.Count() = 2 THEN
- sName = emailComponents[1]
- sNameLength = Length(sName)
- IF sNameLength > 64 THEN RETURN False
- sDomain = emailComponents[2]
- sDomainLength = Length(sDomain)
- IF sDomainLength > 255 THEN RETURN False
- FOR i = 1 _TO_ sNameLength
- END
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement