Java split doesnt work code example
Example: java string.split with . wont work
//Java
String sentence = "Hello World.How are you?";
String[] newSentence = sentence.split("\\.");
String firstString = newSentence[0];
String secondString = newSentence[1];
System.out.println(firstString + ' ' + secondString);