🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: My Questions.

#17309
From: Stephane Baillargeon
Date: Fri, 28 Mar 2003 20:02
22 lines
1570 bytes
AnsiString strString = "D:\MyPath";
AnsiString strResult = strString.SubString(3,strString.Length());

SubString(int index, int length)


"Safari" <Safari@alloymail.com> wrote in message
news:3E847F41.5020409@alloymail.com...
>
> Hello to all,
> 2 Questions,
>
> 1. How can i extract my path without my drive?
>     Example: My Path is: "D:\Program Files\CBuilder\Projects"
>     and i want: "Program Files\CBuilder\Projects"
>
> 2. I want to have many characters of a string. how can i do this?
>     Exmple: Copy(MyString, ???_Start, ???_Length));
>
> Thanks,
> Safari.
>
Technical Details
Message-ID: <3e84aa6e$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3E847F41.5020409@alloymail.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 12:12:41 PST
From: "Stephane Baillargeon" <sbaillargeon@microids.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3E847F41.5020409@alloymail.com>
Subject: Re: My Questions.
Date: Fri, 28 Mar 2003 15:02:39 -0500
Lines: 24
Organization: Microids Canada Inc.
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: 216.208.130.66
Message-ID: <3e84aa6e$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048881774 216.208.130.66 (28 Mar 2003 12:02:54 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail