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