The following text was written to the standard output stream when the StringOpsDemo program was executed from Netbeans.
dateLength = 26 timeLength = 4 labLength = 12 date.substring(0,9) = Thursday, time.substring(2,4) = PM lab.substring(7,8) = T date.substring(11) = ctober 11, 2018 time.substring(2) = PM lab.substring(7) = Thing line = Thursday, October 11, 2018|1 PM|String Thing