State the output of line 7 from the algorithm shown in Figure 1.
(Note: Assume string indexing begins at 0 and the substring function takes parameters in the format SUBSTRING(start_index, length, string)).
1 dinosaurs ← ['Stegosaurus', 'Velociraptor']
2 dino1 ← 'Triceratops'
3 dino2 ← 'Diplodocus'
4 OUTPUT dino1
5 OUTPUT LEN(dinosaurs)
6 segment ← SUBSTRING(3, 5, dino1)
7 OUTPUT segment