-- -*- M2-comint -*- hash: 14688857257456088507

i1 : s = "I love computing Gröbner bases in Macaulay2.";

i2 : substring(0, 5, s)

o2 = I lov

i3 : substring(s, -10, 5)

o3 = Macau

i4 : substring(s, 100, 5)

o4 = 

i5 : substring((3, 10), s)

o5 = ove comput

i6 : substring(3, s)

o6 = ove computing Gröbner bases in Macaulay2.

i7 : substring(s, -10)

o7 = Macaulay2.

i8 : 
