🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Parsing Comma Delimited Text

#19148
From: Exeter
Date: Wed, 11 Mar 1998 00:00
18 lines
723 bytes
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: <3506C7F1.774@starnetinc.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,2fc3b4510c5e51e6,start
X-Google-Attributes: gidf74b3,public
From: Exeter <xeter@starnetinc.com>
Subject: Parsing Comma Delimited Text
Date: 1998/03/11
Message-ID: <3506C7F1.774@starnetinc.com>
X-Deja-AN: 333033606
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: None
Newsgroups: borland.public.jbuilder.java.language