🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: tab separated data

#6096
From: Pieter
Date: Wed, 08 Jun 2005 16:06
27 lines
1425 bytes

  Hello again,
Just realized that StringList->CommaText = TabbedLine will get any kind of
separators (comma, tabs etc). As my line can also contain commas, I want only to separate my fields by the tab separator.

aa,aa   bbb    ccc
I want to get
aa,aa
bbb
ccc
Is there any property or method where you can specify the separator?

Thanks,     




"Pieter" <pieter@mail.com> wrote:
>
>
>   Hi,
>I have a line (a String) with some data in it separated with a tab (4 or 5 tabs). the line looks like:
>aaaaaaa     bbbbbb     ccccc     dddd 
>
>How can I process this line and get every "field"?
>Thanks     
Technical Details
Message-ID: <42a71786@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42a5f0db$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cd1aa1298832bdc7
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Pieter" <Pieter@nomail.com>
Sender: "Pieter" <Pieter@nomail.com>
Reply-To: "Pieter" <Pieter@nomail.com>
Subject: Re: tab separated data
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 193.173.109.1     
References:  <42a5f0db$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <42a71786@newsgroups.borland.com>
Date: 8 Jun 2005 09:06:30 -0700
X-Trace: newsgroups.borland.com 1118246790 207.105.83.66 (8 Jun 2005 09:06:30 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail