I have a string that I need to split
SELECT a, b, c FROM X....
I need to split it and only keep, "FROM...." and onwards. Right now I have this, but I think it will actually get rid of the FROM string also correct?
String query = xyz.getQuery();
String [] newQuery = query.split("FROM");
String splitQuery = newQuery[1];
indexOfandsubstring?