How to iterate through a String and stop when it finds an uppercase letter, and create two variables, one with the first part before the uppercase letter and the other variable with the second part starting with the second uppercase letter.
My code only is to detect uppercase letter.
for (int i = 0; i < phrase.length(); i++) {
if (Character.isUpperCase(phrase.charAt(i))) {
}
}