$endi = $starti; ## uh? start substring position = end substring position?