StringTokenizer strToken = new StringTokenizer(string, separator);
String[] strings = new String[strToken.countTokens()];
int j = 0;
while(strToken.hasMoreTokens())
{
strings[j] = strToken.nextToken();
j++;
}
----- Original Message -----
From: "Ciprian Niculescu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 2:16 PM
Subject: [rlug] OT: Java
>
> era aici cineva care programa in Java am o intrebare, vreau sa fac ceva
> de genul: ($t1,$t2,$t3) = split(/ /,$stringu,3)
>
> este vreo metoda gata facuta?
>
> mersi
>
> C
> --
> Ciprian Niculescu
> Network Engineer
> Producton S.R.L.
>
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
>
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.