Check if the string contains *

xiaoxiao2021-03-06  69

String s = "1212 * 1212";

IF (sindexof ("*")! = -1) {

System.out.println ("*" in this string ");

}

转载请注明原文地址:https://www.9cbs.com/read-91601.html

New Post(0)