Category: Internet/Lan
Title: Extract the domain (host) name from an e-mail address
Author: about.com
Date added: 15.03.2006
Hits: 3621
//extract doman name from an email address
function EmailDomain(
const email: string):string;
var
Pos_AT : integer;
begin
Pos_AT := Pos('@', email) ;
Result := Copy(email, Pos_AT + 1, Length(email) - Pos_AT)
end;