我的情况你的意思是引号(")而不是省略号,最简单的解决方案是使用String.split:
String text = "I would \"surely\" like to \"go to school\".";
String[] result = text.split("\"");
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
17815 次 |
| 最近记录: |