java break string at comma code example Example: java break string at comma String[] brokenLine = line.split("[,]");