Can anyone see what's wrong with this piece of code? When I try to compile I get an error on the first line (line 3) "cannot find symbol, symbol : method split(char)" I have the delimiter btw as a public static final char in the same class.
private static boolean insertPost(String post) {
String[] tab = post.split(delimiter);
Pasient currentPasient = findPasient(Integer.valueOf(tab[0]));
int dayNumber = Integer.valueOf(tab[1]);
Personel personel = new Personel(tab[2], tab[3]);
currentPasient.setThreatment(daynumber, personel);
return true;
}