我有一個字符串“ aa :: bb :: aa”并需要將其轉到“ aa,bb,aa”我試過了translate(string,':',', ')但這會返回“ aa ,, bb ,, aa”如何才能做到這一點。 查看完整描述