🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #12185

conversion help? trim function

#12185
From: Chris Winters
Date: Fri, 22 Nov 2002 23:21
24 lines
1421 bytes
Not sure if Im in the right newsgroup area, but its worth a try--

Im trying to convert this to C++Builder and have the slightest idea? Could
anyone help?

    if (s= trim(lowercase(myarray[z].S)))

where 'myarray' is an array and 'S' is a string, and 'z' isthe position in
the array.

also, Im trying to convert the delete, insert and copy functions.

For example:

insert('{!`}',s,z);   <--- lost in space

delete(s,z,1);

string1:= copy(s,z, test1-(z-1));
I have no clue what these are.

Thanks! --in advanced!

Chris
Technical Details
Message-ID: <3ddebbbd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,1e5aecbad17655b2,start
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2002-11-22 16:15:56 PST
From: "Chris Winters" <channel0_70@yahoo.com>
Newsgroups: borland.public.delphi.nativeapi
Subject: conversion help? trim function
Date: Fri, 22 Nov 2002 18:21:48 -0500
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 65.125.29.3
Message-ID: <3ddebbbd@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1038007229 65.125.29.3 (22 Nov 2002 15:20:29 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mail