Problem with reading a .csv file

Without the line String[] profs = split([]professors_absent, ' '); there are no errors but as soon as I add this line it gives me 2 errors:

  • Error on “(” Consider adding “byte”
  • Syntax erron on(s), misplaced construct(s)

Concretely reading the page split () I do not understand because in the examples none reads a file csv. So, I still tried doing with this line but there are errors.