Space is a special character. Special characters are important for passwords. But the question is, "Is it ideal for passwords to have spaces?"

I believe that many times developers  trim the spaces. Imagine if the password has space, there is possibility of it getting trimmed. Hence I suggest password shouldn't have spaces. What do my other friends have to say about this? Kindly share your thoughts.