Call str on history input.