Package java.lang
Class String

Public Method toCharArray

char[] toCharArray()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Converts this string to a new character array.

Note that characters in the Java Virtual Machine are only represented with one byte. Only the lowest byte of a Unicode symbol will be stored in a charater variable.

Example

char c = 'μ'; // c will have the value 0xBC although the Unicode symbol is 0x3BC.