"DEVFIBER_ID","REL_TYPE","REL_ID","FIBER_MODE","TRANS_DIRECTION","FLAG","COMMENT","UPDATE_REASON","UPDATE_DATE","VIR_COL_DEVID" 去除" java
时间: 2023-10-03 21:09:06 浏览: 68
trans_table.rar_Table_trans_table
您的问题是如何去除 "DEVFIBER_ID","REL_TYPE","REL_ID","FIBER_MODE","TRANS_DIRECTION","FLAG","COMMENT","UPDATE_REASON","UPDATE_DATE","VIR_COL_DEVID" 中的 " java"?
您可以使用字符串的replace方法来去除 " java"。具体代码如下:
```java
String originalString = "DEVFIBER_ID\",\"REL_TYPE\",\"REL_ID\",\"FIBER_MODE\",\"TRANS_DIRECTION\",\"FLAG\",\"COMMENT\",\"UPDATE_REASON\",\"UPDATE_DATE\",\"VIR_COL_DEVID";
String modifiedString = originalString.replace(" java", "");
System.out.println(modifiedString);
```
输出结果为:
```java
DEVFIBER_ID\",\"REL_TYPE\",\"REL_ID\",\"FIBER_MODE\",\"TRANS_DIRECTION\",\"FLAG\",\"COMMENT\",\"UPDATE_REASON\",\"UPDATE_DATE\",\"VIR_COL_DEVID
```
阅读全文