Use the StringTokenizer u will get ur requirement. ..
Try for Everything
----- Original Message -----
From: Marcos Lloret <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 25, 2000 10:38 PM
Subject: managing a string
> hi,
>
> i have a string with some words separated by ;
>
> i would like to, firstly, take the words before the ';' and put them
> in a new string. secondly taking those words between the ';' and keeping
> them into another string. ....
>
> how can i do that?
>
> thanks in advance,
>
> marcos
> [EMAIL PROTECTED]
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html