The following text was written to the standard output stream when the StringOps program was executed from IntelliJ.
dateLength = 25 timeLength = 4 labLength = 12 p1 = 6 p2 = 1 p3 = 3 date.substring(0,9) = Monday, N time.substring(2,4) = PM lab.substring(7,8) = T date.substring(11) = ember 29, 2021 time.substring(2) = PM lab.substring(7) = Thing line = Monday, November 29, 2021 | 6 PM | String Thing Process finished with exit code 0