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