🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19149

Re: Parsing Comma Delimited Text

#19149
From: Conrad Hoesle-Kienzlen
Date: Wed, 11 Mar 1998 00:00
24 lines
911 bytes
Exeter,
what you need is the StringTokenizer in java.utility.
...Conrad

Exeter wrote:

> Can anyone tell how I can parse out comma delimited text?
>
> Example:
>
> I have String
>
> ReturnChoice = red, green, blue
>
> returning from a DB and I want to be able to have
>
> String choice1 = red
> String choice2 = green
> String choice3 = blue
>
> Thnx,
>
> Exeter
Technical Details
Message-ID: <3506CAF4.277F194F@csi.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3506C7F1.774@starnetinc.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,2fc3b4510c5e51e6
X-Google-Attributes: gidf74b3,public
From: Conrad Hoesle-Kienzlen <Conrad_Hoesle@csi.com>
Subject: Re: Parsing Comma Delimited Text
Date: 1998/03/11
Message-ID: <3506CAF4.277F194F@csi.com>
X-Deja-AN: 333033607
Content-Transfer-Encoding: 7bit
References: <3506C7F1.774@starnetinc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: CHK IT-Consulting
Newsgroups: borland.public.jbuilder.java.language