The following text was written to the standard output stream when the StringOps.java program was executed from IntelliJ.
dateLength = 27 timeLength =27 labLength = 12 p1 =9 p2 = -1 p3 =3 date.substring(0,9) = Wednesday time.substring(2,4) = AM lab.substring(7) = Thing date.substring(11) = October 10, 2019 time.substring(2) = AM lab.substring(7) = Thing line =Wednesday, October 10, 2019 | 11AM | String Thing Process finished with exit code 0