> I wrote simple code using cocoa-java > > Sring a="a23#124#234";
> String[] arr=a.split("#"); > > but compiler throws run time exception "No class mthod found". > > Any body can tell me what is going wrong in that.
I am thinking that the JVM that is executing your code is JDK
1.3.1 - split() only appeared in JDK 1.4...
Moises
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden