Skip to Main Content

New to Java

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 string

807601Feb 25 2008 — edited Feb 25 2008
i want to split a string into single characters stored in array (split by every character)
String text = "abcde?%";
    String[] tokens = text.split(".");
any idea why this isnt working?

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 24 2008
Added on Feb 25 2008
4 comments
319 views