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!

Converting a whole string into individual characters Can't get an answer

807606Apr 10 2007 — edited Apr 10 2007
Hey,
I have searched Google for a decent amount of time now yet somehow, unlike usual, I can not get a straight answer telling me exactly how I take a string in Java and convert it into an array. I am looking for a description along with some example code, I learn best by viewing and then manipulating example code. All I want to do is say take my name Chris and convert is so each letter has its own variable in an array so that Array[1] = "C" Array[2] = "h"... and so on. Very simple, I am not sure why I can not find one simple solution as programming usually comes very easy to me. Thanks in advance...
~Christopher
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 8 2007
Added on Apr 10 2007
15 comments
287 views