CS1 Standard Demo Page

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=40123:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/lpolycar/out/production/CS1:/home/lpolycar/Downloads/jfugue-4.0.3-with-musicxml.jar:/home/lpolycar/Downloads/SimpleComposer.jar:/home/lpolycar/Downloads/SimplePainter.jar stringthing.StringOps

dateLength = 24
timeLength = 8
labLength = 12

p1 = 8
p2 = 5
p3 = 3

date.substring(0,9) = Thursday,
time.substring(2,4) = :3
lab.substring(7,8) = T

date.substring(11) = arch 10, 2022
time.substring(2) = :35 AM
lab.substring(7) = Thing

line = Thursday, March 10, 2022 | 11:35 AM | String Thing

Process finished with exit code 0