CS1 Standard Demo Page

The following text was written to the standard output stream when the StringThing.java program was executed from Netbeans.

run:

dateLength=27
timeLength=10
labLength=12

p1= 9
p2= 0
p3= 3

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

date.substring(11)= October 11, 2018
time.substring(2)=11:30 AM
lab.substring(7)=Thing

line = Thursday , October 11, 2018 |   11:30 AM | String Thing
BUILD SUCCESSFUL (total time: 0 seconds)