The following text was written to the standard output stream when the StringOps.java program was executed from IntelliJ.
dateLength = 28 timeLength = 7 labLength = 12 p1 = 8 p2 = 4 p3 = 3 date.substring(0,9) = Thursday, time.substring(2,4) = 03 lab.substring(7,8) = t date.substring(11) = ctober 17th, 2019 time.substring(2) = 03 PM lab.substring(7) = thing line = Thursday, October 17th, 2019 | 3:03 PM | String thing