WebSphere 5.1 is not having split() method in String class

D

Deep

hi all i am using WebSphere 5.1
but it is not supporting split() function of String class.
what should i do?
 
B

Bart Cremers

Don't use it!!

AFAIR websphere 5.1 runs on a IBM JDK 1.3.1. String.split is only
introduced in 1.4.

So you've got the choice to upgrade your websphere to 6 or to use a
StringTokenizer to split the string instead of string.split.

If you need to stick with websphere 5 and need regex to split the
string, you could use jakarta oro to help you out.

Bart
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top