This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes String to char[] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "String to char[]" Watch "String to char[]" New topic

String to char[]

Pin Ting

Joined: May 28, 2003
Posts: 22
Dear all,
is there any API for converting a String to char[]?
thanks a lot.

Never do things the hard way if you don't have a good reason.
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Pin Ting

Joined: May 28, 2003
Posts: 22
Thank you .
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: String to char[]
Similar Threads
casting an array of chars to a String??plz help
Why Error Here?
How to sort a String
Aggregation and Generalization
changing a String to a char