🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: memory stream parsing

#6411
From: Liz Albin
Date: Sun, 15 May 2005 18:12
11 lines
1307 bytes
On Sun, 15 May 2005 18:44:48 +0100, xa wrote:

> I have some html code stored in a memory stream and i need to strip out the
> "\r\n"  prior to assigning the dat afor display... can anyone show me an
> effective way of doing this please..

If you can put your data in an AnsiString you can use StringReplace() 
-- 
Good luck,

liz
Technical Details
Message-ID: <1qtq3x0xqzm6k.13io2yfl5iuhh.dlg@40tude.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42878a87$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cb77108e6b3d9403
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Liz Albin <lizalbin@yahooNotThis.com>
Subject: Re: memory stream parsing
Newsgroups: borland.public.cppbuilder.nativeapi
User-Agent: 40tude_Dialog/2.0.15.1 (8dac03c7.78.428)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <42878a87$1@newsgroups.borland.com>
Date: Sun, 15 May 2005 11:12:50 -0700
Message-ID: <1qtq3x0xqzm6k.13io2yfl5iuhh.dlg@40tude.net>
X-Realname: Liz Albin
NNTP-Posting-Host: 69.226.40.132
X-Trace: newsgroups.borland.com 1116180898 69.226.40.132 (15 May 2005 11:14:58 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail