1 substr type = function
   2 substr arity = 2
   3 hello world
   4 lo world
   5 lo w
   6 hello world
   7 d
   8 world
   9 hel