🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12879

Re: API function question

#12879
From: Remy Lebeau (TeamB)
Date: Wed, 12 Nov 2003 01:15
21 lines
1646 bytes
"Martin C" <martinc@aol.com> wrote in message
news:3fb18729$1@newsgroups.borland.com...

> I receive cookie in the following format
>
> Cookie:user_name@www.domainname.com/
>
> is there any way where I can only see
>
> www.domainname.com/

You'll have to parse out the address manually after you retreive it.  If you
store the value into an AnsiString(), you can use its Pos() method to locate
the position of the "@" character and then use the Delete() or SubString()
methods to remove everything before the address.  If you are working with
char* strings instead, you can use AnsiStrScan() to skip over every up to
the domain.


Gambit
Technical Details
Message-ID: <3fb188d5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fb17ca7@newsgroups.borland.com> <3fb17eef$1@newsgroups.borland.com> <3fb18729$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,963ad52c16ab9229
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-11 17:13:07 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fb17ca7@newsgroups.borland.com> <3fb17eef$1@newsgroups.borland.com> <3fb18729$1@newsgroups.borland.com>
Subject: Re: API function question
Date: Tue, 11 Nov 2003 17:15:10 -0800
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.137.149
Message-ID: <3fb188d5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1068599509 67.22.137.149 (11 Nov 2003 17:11:49 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail