私はちょうどいくつかの回避策を行い、結果に驚いた. 説明させてください。
String str = "aaa.jpg";
String[] str1 = str.split("."); //output of this is empty array with size 0
str.contains("."); //output of this is true.
なぜsplit()
メソッドが を認識できないのか"."
、どこでをcontains()
認識できるのか、誰でも説明できますか"."
。