通过String的characters方法,将String转Character数组
例如:
let characters:Array<Character> = Array("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRST".characters)
转载于:https://www.cnblogs.com/naturelight/p/5667305.html