生成java代码 String jcyidsString ="cb653f8080374d18a009201fa40cc6c7,eea6e17bd8da422e8f09279d4c61f761,bb768bcb3ca649aaaaf073d0f0abe743,d0bfa870935441d5830b8f91f79bea3e" 转化为没有双引号的值
时间: 2024-01-21 17:17:59 浏览: 292
6fc672937ed64d9f9730d51d18b0be10af6a428e667c2e0fd224b4c95ef59926
可以使用Java中的replaceAll方法来去掉双引号,代码如下:
```
String jcyidsString ="cb653f8080374d18a009201fa40cc6c7,eea6e17bd8da422e8f09279d4c61f761,bb768bcb3ca649aaaaf073d0f0abe743,d0bfa870935441d5830b8f91f79bea3e";
String jcyids = jcyidsString.replaceAll("\"", "");
System.out.println(jcyids);
```
输出结果为:
```
cb653f8080374d18a009201fa40cc6c7,eea6e17bd8da422e8f09279d4c61f761,bb768bcb3ca649aaaaf073d0f0abe743,d0bfa870935441d5830b8f91f79bea3e
```
阅读全文