Re: newbie I/O problem
From: Chris Smith (cdsmith_at_twu.net)
Date: 12/29/03
- Previous message: Ian Stanley: "Shape problem"
- In reply to: Samba: "newbie I/O problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 28 Dec 2003 16:54:17 -0700
Samba wrote:
> I need to get every value, here is the code that i use, my variable "mot"
> returns the wole line instead of each value, i don't understand why, does
> someone knows?
> StringTokenizer st = new StringTokenizer(chaine, "");
> mot = st.nextToken();
You went out of your way to specify that there are no delimiters.
Without delimiters, StringTokenizer cannot break up the String. I don't
know why you thought this was necessary; if you explain, then perhaps I
can help clear up the confusion.
-- www.designacourse.com The Easiest Way to Train Anyone... Anywhere. Chris Smith - Lead Software Developer/Technical Trainer MindIQ Corporation
- Previous message: Ian Stanley: "Shape problem"
- In reply to: Samba: "newbie I/O problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|