将字符串转换为字符数组。

char[] arr = 字符串对象名.toCharArray();

原文地址:https://www.cnblogs.com/wangffeng293/p/11796653.html