public char[] toCharArray(){
  char result[]=new char[value.length];
  System.arraycopy(value,0,result,0,value.length);
  return result;
}

public char [ ] toCharArray ( ) { char result [ ] = new char [ value . length ] ; System . arraycopy ( value , 0 , result , 0 , value . length ) ; return result ; }
converts this string to a new character array .
