username.Contains(" ") ------------------------------------------String 字符串的判断空格存在否? 转载于:https://www.cnblogs.com/Jingerxin/p/5116382.html