Answers for "regex split by capital letters"

0

regex split by capital letters

String s = "ThisIsMyString";
String[] r = s.split("(?<=.)(?=\\p{Lu})");
System.out.println(Arrays.toString(r));
Posted by: Guest on August-22-2020

Code answers related to "regex split by capital letters"

Browse Popular Code Answers by Language