The following text was written to the standard output stream when the program was executed from IntelliJ.
date Length = 25 timelength = 7 labLength = 12 p1 = 8 p2 = 4 p3 = 3 date.substring(0,9) = Thursday, time.substring(2,4) = 28 lab.substring(7,8) = T date.substring(11) = ctober 10 2019 time.substring(2) = 28 PM lab.substring(7) = Thing line = Thursday, October 10 2019 | 1:28 PM | String Thing