🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: My Questions.

#17314
From: Safari
Date: Fri, 28 Mar 2003 22:26
31 lines
1977 bytes
Thanks Remy,
1. MyPath = "D:\Program Files\CBuilder\Projects\Project1.exe"
   ExtractFilePath()  = "D:\Program Files\CBuilder\Projects\"
   ExtractFileName()  = "Project1.exe"
   ExtractFileDrive() = "D:"
   But i want "Program Files\CBuilder\Projects"

2. My String is: "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
   My meaning is: Copy(MyString, ???_Start, ???_Length);
   if ???_Start = 10 and ???_Length = 10 then
   My Result is: "JKLMNOPQRS" :-)

Thanks again,
Safari

"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3e84aff5$1@newsgroups.borland.com...
|
| ExtractFilePath() and ExtractFileDrive(), then stip off the number of
| characters returned by ExtractFileDrive().
|
| > 2. I want to have many characters of a string. how can i do this?
| >     Exmple: Copy(MyString, ???_Start, ???_Length));
|
| I don't understand what you're asking.
|
| Gambit
|
| Outgoing mail is certified Virus Free.
| Checked by AVG anti-virus system (http://www.grisoft.com).
| Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/03
Technical Details
Message-ID: <3e84cc23@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3E847F41.5020409@alloymail.com> <3e84aff5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,f34eb25907f0e58d
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-28 14:32:59 PST
From: "Safari" <Safari@alloymail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3E847F41.5020409@alloymail.com> <3e84aff5$1@newsgroups.borland.com>
Subject: Re: My Questions.
Date: Sat, 29 Mar 2003 02:56:15 +0430
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 81.28.33.86
Message-ID: <3e84cc23@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048890403 81.28.33.86 (28 Mar 2003 14:26:43 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail