🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CRLF string <-> TStrings

#191
From: Ben Hochstrasser [FF]
Date: Mon, 26 Jan 2004 13:29
12 lines
1348 bytes
Magnus Oskarsson wrote:

> Are there any built in Delphi functions for conversions (in both
> directions) between a string containing CR/LF character pairs (you get
> this e.g. from TMemoField.AsString) and a TStrings object, or do I
> have to write it myself? 

TStringObject.Text := CrlfString;
CrlfString := TStringObject.Text; 

-- 
Ben
Technical Details
Message-ID: <Xns947C9359D68FDbhoc@207.105.83.66>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <401515ca$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,2146799da4e28dc0
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2004-01-26 05:37:21 PST
Newsgroups: borland.public.delphi.language.objectpascal
Subject: Re: CRLF string <-> TStrings
From: "Ben Hochstrasser [FF]" <bhoc@tiscali123^H^H^H.ch>
References: <401515ca$1@newsgroups.borland.com>
Date: Mon, 26 Jan 2004 14:29:06 +0100
Organization: Huh?
Message-ID: <Xns947C9359D68FDbhoc@207.105.83.66>
User-Agent: Xnews/5.04.25
X-Face: %,ZY>)HcS`@0U'*W5'Lr\8Pm}CVL46h^FG"q2H^O'K*7'W`c%"V\wNgnh$P"Z[B><S3@<-nTt@L=M#+cOawLHm#8q227tM*~jVY*oD3`L2H][7=gNHxQ~(G?`"$FlutE{k3|<FtJhG'uI
NNTP-Posting-Host: 80.219.9.187
X-Trace: newsgroups.borland.com 1075123750 80.219.9.187 (26 Jan 2004 05:29:10 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail