handle case where str[len] == ' '
don't add an ellipsis without truncating