[4062] in java-interest
Re: String in java
daemon@ATHENA.MIT.EDU (Michael Mehrle)
Fri Dec 8 18:06:18 1995
Date: Fri, 8 Dec 1995 13:17:00 -0700
To: Jonathan_Mark_Smith@CCMAIL.PRUSEC.COM
From: michael@w3media.com (Michael Mehrle)
Cc: java-interest@java.sun.com
> Java string class does not have a split function
>
> Can someone please show me how to break up the following string in
> code;
>
> String "user=smith&password=master"
>
> I want to get 4 strings out of this one string.
>
>
> Can you please send me source code
>
>-
Yeah! I would appreciate the very same service :) Anybody.
Upon that it shouldn't be so hard to create a generic splitString class
using a StringBuffer and solve the problem once and for all. By passing the
string object and the char at which to split, everything could be honky
dori!
How about it?
Michael
\\///
[ o-o ]
____________OOOo___(.)___oOOO_______________
http://www.w3media.com/w3media
michael@w3media.com
Tel. 310.441.9599
Fax 310.441.5919
"One man's mundane and desperate existence
is someone else's Technicolor."
-Strange Days-
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com