Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static boolean isdouhao1(String name) {
int aa = name.indexOf("|");
int bb = name.indexOf(" ");
if (aa >= 0 && bb >= 0) {
return false;
} else {
return true;
}
}
}