java 7 from string to string array code example Example: java srting array to string Arrays.toString(charArr);