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=42701:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath "/home/akyaw/IdeaProjects/CS1/out/production/CS1:/home/akyaw/Downloads/Programming lab 2/SimplePainter.jar:/home/akyaw/Downloads/Programming lab 2/SimpleComposer.jar:/home/akyaw/Downloads/Programming lab 2/jfugue-4.0.3-with-musicxml.jar" stringthing.stringOps

dateLength = 27

timeLength = 4

labLength = 12

p1 = 9
p2 = 1
p3 = 3

date.substring(0,9) = Wednesday
time.substring(2,4) = AM
lab.substring(7,8) = T

date.substring(11) = October 18, 1995
time.substring(2) = AM
lab.substring(7) = Thing

line = Wednesday, October 18, 1995|8 AM|String Thing