🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.language.objectpascal
Article #108

Re: Remove Spaces Function

#108
From: Yehia Ahmed
Date: Mon, 26 Jan 2004 21:05
44 lines
2293 bytes
not really cause i don't want to remove all the space from the string,
only wanted to remove spaces next to the =,

so something like this:
test= ( "test "  )
would become : test=("test")


"Andrew Pailthorpe" <yuppski@hotmail.com> wrote in message
news:40158066@newsgroups.borland.com...
> 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: <40158139@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: <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> <40158066@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: "Yehia Ahmed" <yehiaeg@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> <40158066@newsgroups.borland.com>
Subject: Re: Remove Spaces Function
Date: Mon, 26 Jan 2004 23:05:53 +0200
Lines: 46
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
NNTP-Posting-Host: 62.68.242.252
Message-ID: <40158139@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075151161 62.68.242.252 (26 Jan 2004 13:06:01 -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