splitInput modification for Hayden. Don't want to put it in the MAIT
branch quite yet because it will mess with RPN.