方法
char.chararray.
translate
对于中的每个元素 self ,返回一个字符串的副本,其中所有字符都出现在可选参数中 deletechars 已删除,其余字符已通过给定的翻译表映射。
参见
char.translate