Trim'em all.

Trim the name given by the user. Will protect from names having spaces at beginning or end.