当前位置:主页 > 软件编程 > JAVA代码 >
时间:2020-12-28 12:42:19 | 栏目:JAVA代码 | 点击:次
如下所示:
if(str.indexOf(",") >= 0) System.out.println("字符串中有逗号");