The following text was written to the standard output stream when the program was executed from IntelliJ.
dateLength = 26 timeLength = 7 labLength = 12 p1 = 8 p2 = 4 p3 = 3 date.substring(0,9) = Thursday, time.substring(2,4) = ur lab.substring(7,8) = y date.substring(11) = ctober 10, 2019 time.substring(2) = ursday, October 10, 2019 lab.substring(7) = y, October 10, 2019 line = Thursday, October 10, 2019 | 2:30 PM | String Thing