Takes in a String and a position