The following text was written to the standard output stream when the StringOps 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=35401:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/upatel2/IdeaProjects/CS1Worksite/out/production/CS1:/home/upatel2/Downloads/SimplePainter.jar:/home/upatel2/Downloads/SimpleComposer.jar:/home/upatel2/Downloads/jfugue-4.0.3-with-musicxml.jar stringthing.StringOps dateLength = 24 timeLength = 8 labLength = 12 pl = 8 p2 = -1 p3 = 3 date.substring(0,9)= Thursday, time.substring(6,8)= Am lab.substring(7,8)= T date.substring(10)= March 12, 2020 time.substring(5)= Am lab.substring(7)= Thing line = Thursday, March 12, 2020 | 11:10 Am | String Thing Process finished with exit code 0