code: def getoneblock(astr, start, end):
      
      alist = astr.split(start)
      astr = alist[-1]
      alist = astr.split(end)
      astr = alist[0]
      return astr
docs: get the block bounded by start and end
      doesn't work for multiple blocks