特殊文字 "(" の検索に問題が
ありjava.util.regex.PatternSyntaxException exception has occurred
ます。
特殊文字として扱われる "(" と関係があるかもしれません。パターン表現が苦手です。誰かが適切に検索するのを手伝ってくれますか?エスケープ文字の?
// I need to split the string at the "("
String myString = "Room Temperature (C)";
String splitList[] = myString.split ("("); // i got an exception
// I tried this but got compile error
String splitList[] = myString.split ("\(");