Search results for 'Copy'. 1 post(s) found.
2007/09/18 08:26
Extracting the domain (host) name from an e-mail address
2007/09/18 08:26 in Delphi

If you have an email as a string value and want to extract only the domain (host) name from it, like in: "delphi.guide@about.com" - domain name = "about.com", you can use the next function:
//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;
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;
Another posts included in "Delphi"
| How to get get IE favorites (0) | 2007/09/18 |
| How to set the "home page" for the Internet Explorer from Delphi code (0) | 2007/09/18 |
| List All Network Drives (0) | 2007/09/18 |
| Download a file from the Internet with progress indicator (0) | 2007/09/18 |
| Are we connected to the Internet? (0) | 2007/09/18 |
| Rotate Bitmap (any angle, any center of rotation) (0) | 2007/09/11 |
| TImage.Bitmap fade out (0) | 2007/09/11 |
| TDesktopCanvas - draw on Windows Desktop (0) | 2007/09/11 |
Trackback : Cannot send a trackbact to this post.
-
Subject Lexapro.
2009/02/08 18:29
Can you take lexapro while pregnant.
-
Subject Viagra.
2009/02/11 22:31
Buy viagra.
-
Subject Viagra.
2009/03/01 14:04
Viagra. Generic viagra no prescription. Buy viagra.
-
Subject different money making ideas
2010/01/29 02:55
moneyideas
-
Subject different money making ideas
2010/01/29 11:51
moneyideas
-
Subject different money making ideas
2010/01/31 16:40
moneyideas
Prev

Rss Feed