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