Right, forgot java's arguments for the substring method are dumb