The following text was written to the standard output stream when the StringOps.java program was executed from IntelliJ.
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -javaagent:/opt/intellij-idea-community/lib/idea_rt.jar=37703:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/kscalzo/IdeaProjects/CS1/out/production/CS1:/home/kscalzo/Downloads/SimplePainter.jar:/home/kscalzo/Downloads/SimpleComposer.jar:/home/kscalzo/Downloads/jfugue-4.0.3-with-musicxml.jar stringthing.StringOps dateLength = 24 timeLength = 5 labLength = 12 p1 = 9 p2 = -1 p3 = 3 date.substring(0,9) = Wednesday time.substring(2,4) = P lab.substring(7,8) = T date.substring(11) = March 9, 2022 time.substring(2) = PM lab.substring(7) = Thing line = Wednesday, March 9, 2022 | 12 PM | String Thing Process finished with exit code 0