Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Split Strings

807606May 21 2007 — edited May 21 2007
Hello Everyone,

I am just stuck with one problem. I would like to know how to separate strings and save the values to different ArrayList.

String("A1355469865 53")

I would like to add "A1355469865" to producList.add(A1355469865)
and sohList.add(53), It would be awesome if anyone could please help me out.

I have tried String.Split method but didnt really seem to work..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2007
Added on May 21 2007
20 comments
312 views