The entire process is working almost properly but I'd like to add some debug for a specific issue.
for (int j = 0; j < end.length; j++) {
String remove = end[j].trim();
if (cName.endsWith(remove)) {
mPhone = cName.substring(0, cName.length() - remove.length()).trim();
}
System.out.println(cName + ", " + remove + ", " + mPhone);
}
Where should I expect to see the output? It is not in the Script Output tab, or the DBMS Output tab, or the General tab.