plz send me the name of method to convert the string to individual char

and Tell me wheather Character.parseChar() exit or not in JAVA.
with thanks
Ghanshayam Sharma
(MCA Student)

Recommended Answers

All 3 Replies

try the API docs. Everything you need to know is there.
We're not here to be a walking index into the core documentation.

Hi everyone,

Try this

String str1 = "Apple"
Char[] chr1 = str1.toCharArray();

Also check the string and char api's for better explanations and method details

I hoped that helped you

Yours Sincerely

Richard West

Richard, don't do people's homework for them.
You're trying to help but are in fact preventing people from ever learning to do their own work...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.