Article View: borland.public.delphi.language.objectpascal
Article #107Re: Remove Spaces Function
From: Andrew Pailthorpe
Date: Mon, 26 Jan 2004 21:02
Date: Mon, 26 Jan 2004 21:02
32 lines
1901 bytes
1901 bytes
Would the StringReplace function be of use ?
StringReplace('test = test2', ' ', '',
[rfReplaceAll]);
just a thought.
"Yehia Ahmed" <yehiaeg@hotmail.com> wrote in message
news:40157a26@newsgroups.borland.com...
> well, this is definitely more effective
>
> "John Herbster (TeamB)" <herb-sci1_AT_sbcglobal.net> wrote in message
> news:40156f3f@newsgroups.borland.com...
> >
> > "Yehia Ahmed" <yehiaeg@hotmail.com> wrote
> >
> > > ok, i'll use my watch
> >
> > You could also call the following function
> >
> > function GetCpuClockCycleCount: Int64;
> > { Returns 64-bit count of CPU clock cycles. }
> > asm
> > dw $310F // opcode for RDTSC
> > end;
> >
> > before and after calling your routine under test.
> > It reads the CPU cycle counter . Rgds, JohnH
>
>
Technical Details
Message-ID:
<40158066@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-mailReferences:
<40153f7d@newsgroups.borland.com> <40155dd8@newsgroups.borland.com> <40155ec4$1@newsgroups.borland.com> <40156c1c@newsgroups.borland.com> <40156f3f@newsgroups.borland.com> <40157a26@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109d30,8b4ceee2931b0643 X-Google-Attributes: gid109d30,public X-Google-ArrivalTime: 2004-01-26 13:10:31 PST From: "Andrew Pailthorpe" <yuppski@hotmail.com> Newsgroups: borland.public.delphi.language.objectpascal References: <40153f7d@newsgroups.borland.com> <40155dd8@newsgroups.borland.com> <40155ec4$1@newsgroups.borland.com> <40156c1c@newsgroups.borland.com> <40156f3f@newsgroups.borland.com> <40157a26@newsgroups.borland.com> Subject: Re: Remove Spaces Function Date: Mon, 26 Jan 2004 21:02:47 -0000 Lines: 34 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: 81.129.64.167 Message-ID: <40158066@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075150950 81.129.64.167 (26 Jan 2004 13:02:30 -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