rune 是int32的别名类型,一个值就代表一个Unicode字符。byte是uint8的别名类型 ... []byte(str)) } The string: "Go爱好者" => runes(char): ['G' 'o' ...
確定! 回上一頁